about summary refs log tree commit diff stats
path: root/035lookup.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-09-11 18:07:29 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-09-11 18:17:46 -0700
commit555d95c1684c39937d0950b482413674618d92a3 (patch)
tree72c35cf68a51e2bc03914d4365a8dbe27a59caff /035lookup.cc
parentf7f40d32b023751bb34c3a5508b48edfb4eae18a (diff)
downloadmu-555d95c1684c39937d0950b482413674618d92a3.tar.gz
3327
Diffstat (limited to '035lookup.cc')
-rw-r--r--035lookup.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/035lookup.cc b/035lookup.cc
index 7dbf301b..fb5add8c 100644
--- a/035lookup.cc
+++ b/035lookup.cc
@@ -479,7 +479,7 @@ def main [
 
 :(before "End Parsing reagent")
 {
-  while (!name.empty() && name.at(0) == '*') {
+  while (starts_with(name, "*")) {
     name.erase(0, 1);
     properties.push_back(pair<string, string_tree*>("lookup", NULL));
   }