about summary refs log tree commit diff stats
path: root/cpp/050scenario.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/050scenario.cc')
-rw-r--r--cpp/050scenario.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/cpp/050scenario.cc b/cpp/050scenario.cc
index e67bb172..5dbc940a 100644
--- a/cpp/050scenario.cc
+++ b/cpp/050scenario.cc
@@ -210,20 +210,6 @@ void parse_scenario(const string& s) {
   parse_scenario(in);
 }
 
-string &trim(string &s) {
-  return ltrim(rtrim(s));
-}
-
-string &ltrim(string &s) {
-  s.erase(s.begin(), std::find_if(s.begin(), s.end(), std::not1(std::ptr_fun<int, int>(isspace))));
-  return s;
-}
-
-string &rtrim(string &s) {
-  s.erase(std::find_if(s.rbegin(), s.rend(), std::not1(std::ptr_fun<int, int>(isspace))).base(), s.end());
-  return s;
-}
-
 :(before "End Includes")
 #include <sys/stat.h>
 :(code)