about summary refs log tree commit diff stats
path: root/src/timeline.cpp
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2018-08-30 20:38:37 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2018-08-30 20:38:37 -0400
commita9d33aa08df10102539e33c0c6d4334e9e99a470 (patch)
tree6e6e4db4c6250b6a4720dc4e34907347e8dcddf5 /src/timeline.cpp
parente42d8636f3aa15e0ea8f723133914d6dba22009c (diff)
downloadlibtwittercpp-a9d33aa08df10102539e33c0c6d4334e9e99a470.tar.gz
libtwittercpp-a9d33aa08df10102539e33c0c6d4334e9e99a470.tar.bz2
libtwittercpp-a9d33aa08df10102539e33c0c6d4334e9e99a470.zip
Started using hkutil
As of this commit, the only change is using hatkirby::implode instead of the implode that was in util.cpp.
Diffstat (limited to 'src/timeline.cpp')
-rw-r--r--src/timeline.cpp5
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
8namespace twitter { 8namespace 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();