From 97b083ac833ada3c18a5639ee782e575ca583acf Mon Sep 17 00:00:00 2001 From: methodus Date: Sat, 29 Sep 2012 22:48:30 +0200 Subject: Streamer almost completed. First tests successful. However, there are no plugins, yet. --- common/tools.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common') diff --git a/common/tools.cpp b/common/tools.cpp index d64b86b..61220c6 100644 --- a/common/tools.cpp +++ b/common/tools.cpp @@ -137,8 +137,8 @@ string GenerateUUIDRandomly(){ return uuid.str(); } -void StringExplode(string str, string separator, StringVector results) { - int found; +void StringExplode(string str, string separator, StringVector& results) { + string::size_type found; found = str.find_first_of(separator); while(found != string::npos){ if(found > 0){ -- cgit v1.2.3