diff options
Diffstat (limited to 'src/timeline.cpp')
-rw-r--r-- | src/timeline.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/timeline.cpp b/src/timeline.cpp index fd75a69..280c814 100644 --- a/src/timeline.cpp +++ b/src/timeline.cpp | |||
@@ -1,8 +1,8 @@ | |||
1 | #include "timeline.h" | 1 | #include "timeline.h" |
2 | #include <sstream> | 2 | #include <sstream> |
3 | #include <json.hpp> | 3 | #include <json.hpp> |
4 | #include <hkutil/string.h> | ||
4 | #include "codes.h" | 5 | #include "codes.h" |
5 | #include "util.h" | ||
6 | #include "request.h" | 6 | #include "request.h" |
7 | 7 | ||
8 | namespace twitter { | 8 | namespace twitter { |
@@ -40,7 +40,8 @@ namespace twitter { | |||
40 | if (!arguments.empty()) | 40 | if (!arguments.empty()) |
41 | { | 41 | { |
42 | urlstr << "?"; | 42 | urlstr << "?"; |
43 | urlstr << implode(std::begin(arguments), std::end(arguments), "&"); | 43 | urlstr << hatkirby::implode( |
44 | std::begin(arguments), std::end(arguments), "&"); | ||
44 | } | 45 | } |
45 | 46 | ||
46 | std::string theUrl = urlstr.str(); | 47 | std::string theUrl = urlstr.str(); |