summaryrefslogtreecommitdiffstats
path: root/cpp/sca/kernel/slist.hpp
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2009-10-18 22:24:59 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2009-10-18 22:24:59 +0000
commit344e0e58ad63fba551f46fc4d9a2468e395f473a (patch)
tree5a9c1c443635b52bf7f5e78c3bd627da81ea8e60 /cpp/sca/kernel/slist.hpp
parent2ee1a61be35c4ae0a017bf65f4ac6779c59b4388 (diff)
Minor code cleanup, refactored list functions and cleaned up function names, moved support for elements to a new header file.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@826543 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--cpp/sca/kernel/slist.hpp4
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)();
}