diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-09-11 18:07:29 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-09-11 18:17:46 -0700 |
commit | 555d95c1684c39937d0950b482413674618d92a3 (patch) | |
tree | 72c35cf68a51e2bc03914d4365a8dbe27a59caff /035lookup.cc | |
parent | f7f40d32b023751bb34c3a5508b48edfb4eae18a (diff) | |
download | mu-555d95c1684c39937d0950b482413674618d92a3.tar.gz |
3327
Diffstat (limited to '035lookup.cc')
-rw-r--r-- | 035lookup.cc | 2 |
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)); } |