diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-09-19T19·43-0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-09-19T19·43-0400 |
commit | 76e88871b21c47c0216e160a5fb926f763ba64fe (patch) | |
tree | 815918838ee85fc3c655c55d6aca11c8a36bb502 /src/libutil/util.hh | |
parent | 00092b2d356293a7af9d4d8125a689f90c461591 (diff) |
Templatise tokenizeString()
Diffstat (limited to 'src/libutil/util.hh')
-rw-r--r-- | src/libutil/util.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/util.hh b/src/libutil/util.hh index 0616288cd541..408d99a96e66 100644 --- a/src/libutil/util.hh +++ b/src/libutil/util.hh @@ -286,7 +286,7 @@ MakeError(Interrupted, BaseError) /* String tokenizer. */ -Strings tokenizeString(const string & s, const string & separators = " \t\n\r"); +template<class C> C tokenizeString(const string & s, const string & separators = " \t\n\r"); /* Concatenate the given strings with a separator between the |