about summary refs log tree commit diff stats
path: root/035lookup.cc
diff options
context:
space:
mode:
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));
   }