diff options
Diffstat (limited to 'crawl-ref/source/libutil.h')
-rw-r--r-- | crawl-ref/source/libutil.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/libutil.h b/crawl-ref/source/libutil.h index 990463852f..9af70c60ad 100644 --- a/crawl-ref/source/libutil.h +++ b/crawl-ref/source/libutil.h @@ -86,11 +86,11 @@ std::string trimmed_string( std::string s ); // remainder of the string as the last segment; negative values of nsplits // split on all occurrences of the separator. std::vector<std::string> split_string( - const char *sep, - std::string s, - bool trim = true, - bool accept_empties = false, - int nsplits = -1); + const std::string &sep, + std::string s, + bool trim = true, + bool accept_empties = false, + int nsplits = -1); inline std::string lowercase_first(std::string s) { |