diff options
author | Florent Le Coz <louiz@louiz.org> | 2015-02-27 12:16:09 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2015-02-27 12:26:48 +0100 |
commit | d600a2843f1dbe3b1ba2dead9a020cc73d7d10ae (patch) | |
tree | a34da2e3c617a39a73f716b9a5dddbdfbc510df6 /src/utils/split.cpp | |
parent | 1028d4d549b517c5b42bb0c30a410d1ab43c4cf3 (diff) | |
download | biboumi-d600a2843f1dbe3b1ba2dead9a020cc73d7d10ae.tar.gz biboumi-d600a2843f1dbe3b1ba2dead9a020cc73d7d10ae.tar.bz2 biboumi-d600a2843f1dbe3b1ba2dead9a020cc73d7d10ae.tar.xz biboumi-d600a2843f1dbe3b1ba2dead9a020cc73d7d10ae.zip |
Remove all the libs that are now in louloulibs
Diffstat (limited to 'src/utils/split.cpp')
-rw-r--r-- | src/utils/split.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/utils/split.cpp b/src/utils/split.cpp deleted file mode 100644 index afe4300..0000000 --- a/src/utils/split.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include <utils/split.hpp> - -namespace utils -{ - std::vector<std::string> split(const std::string& s, const char delim, const bool allow_empty) - { - std::vector<std::string> ret; - std::stringstream ss(s); - std::string item; - while (std::getline(ss, item, delim)) - { - if (item.empty() && !allow_empty) - continue ; - ret.emplace_back(std::move(item)); - } - return ret; - } -} |