From a9d33aa08df10102539e33c0c6d4334e9e99a470 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Thu, 30 Aug 2018 20:38:37 -0400 Subject: Started using hkutil As of this commit, the only change is using hatkirby::implode instead of the implode that was in util.cpp. --- src/util.h | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index b950728..8b9cf86 100644 --- a/src/util.h +++ b/src/util.h @@ -1,31 +1,10 @@ #ifndef UTIL_H_440DEAA0 #define UTIL_H_440DEAA0 -#include -#include -#include #include namespace twitter { - template - std::string implode(InputIterator first, InputIterator last, std::string delimiter) - { - std::stringstream result; - - for (InputIterator it = first; it != last; it++) - { - if (it != first) - { - result << delimiter; - } - - result << *it; - } - - return result.str(); - } - time_t timegm(struct tm * t); }; -- cgit 1.4.1