diff options
Diffstat (limited to 'cpp/sca/kernel/slist.hpp')
-rw-r--r-- | cpp/sca/kernel/slist.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/sca/kernel/slist.hpp b/cpp/sca/kernel/slist.hpp index 54c2d77574..705152cb29 100644 --- a/cpp/sca/kernel/slist.hpp +++ b/cpp/sca/kernel/slist.hpp @@ -43,7 +43,7 @@ const list<std::string> tokenize(const std::string& sep, const std::string& str) return list<std::string>(); const unsigned int i = str.find_first_of(sep, start); if (i == std::string::npos) - return makeList(str.substr(start)); + return mklist(str.substr(start)); return cons(str.substr(start, i - start), tokenize(sep, str, i + 1)); } }; @@ -67,7 +67,7 @@ struct ilistRead{ } }; -const list<std::string> makeStreamList(std::istream& is) { +const list<std::string> streamList(std::istream& is) { return ilistRead(is)(); } |