about summary refs log tree commit diff stats
path: root/050scenario.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-21 12:36:59 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-21 13:00:42 -0700
commitd7494165ec7ae507c7340dcaad2e2c95fda5ee11 (patch)
tree465d0d93dc8380e292c763416bf947e7a25c45e1 /050scenario.cc
parent5af8334699b54162423fa3290ffef9fd5d247816 (diff)
downloadmu-d7494165ec7ae507c7340dcaad2e2c95fda5ee11.tar.gz
1414 - traces now robust to new recipes/types
Diffstat (limited to '050scenario.cc')
-rw-r--r--050scenario.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/050scenario.cc b/050scenario.cc
index 6fdac8dd..86e43a85 100644
--- a/050scenario.cc
+++ b/050scenario.cc
@@ -482,17 +482,3 @@ void slurp_until_matching_bracket(istream& in, ostream& out) {
     out << c;
   }
 }
-
-// see tests for this function in tangle/030tangle.test.cc
-string trim(const string& s) {
-  string::const_iterator first = s.begin();
-  while (first != s.end() && isspace(*first))
-    ++first;
-  if (first == s.end()) return "";
-
-  string::const_iterator last = --s.end();
-  while (last != s.begin() && isspace(*last))
-    --last;
-  ++last;
-  return string(first, last);
-}