summaryrefslogtreecommitdiffstats
path: root/src/Utilities.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Utilities.cpp')
-rw-r--r--src/Utilities.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/Utilities.cpp b/src/Utilities.cpp
index 8b0ca94..eb06d8b 100644
--- a/src/Utilities.cpp
+++ b/src/Utilities.cpp
@@ -1,10 +1,10 @@
/*
-----------------------------------------------------------------------
-Copyright: 2010-2015, iMinds-Vision Lab, University of Antwerp
- 2014-2015, CWI, Amsterdam
+Copyright: 2010-2016, iMinds-Vision Lab, University of Antwerp
+ 2014-2016, CWI, Amsterdam
Contact: astra@uantwerpen.be
-Website: http://sf.net/projects/astra-toolbox
+Website: http://www.astra-toolbox.com/
This file is part of the ASTRA Toolbox.
@@ -23,7 +23,6 @@ You should have received a copy of the GNU General Public License
along with the ASTRA Toolbox. If not, see <http://www.gnu.org/licenses/>.
-----------------------------------------------------------------------
-$Id$
*/
#include "astra/Utilities.h"
@@ -121,7 +120,7 @@ void splitString(std::vector<std::string> &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);