From 45415c92329fa3ae24f979a40081a91d0a167cd9 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Mon, 21 Nov 2016 16:50:18 +0100 Subject: Fix hardcoded delim in splitString --- src/Utilities.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Utilities.cpp') diff --git a/src/Utilities.cpp b/src/Utilities.cpp index 8b0ca94..9733c30 100644 --- a/src/Utilities.cpp +++ b/src/Utilities.cpp @@ -121,7 +121,7 @@ void splitString(std::vector &items, const std::string& s, size_t current = 0; size_t next; do { - next = s.find_first_of(",;", current); + next = s.find_first_of(delim, current); items.push_back(s.substr(current, next - current)); current = next + 1; } while (next != std::string::npos); -- cgit v1.2.3