summaryrefslogtreecommitdiffstats
path: root/src/lib/cc/simple_parser.cc
diff options
context:
space:
mode:
authorTomek Mrugalski <tomasz@isc.org>2016-12-28 17:07:45 +0100
committerTomek Mrugalski <tomasz@isc.org>2016-12-28 17:07:45 +0100
commit8e2c1545016f316adfa96127f68bac7f6b8eedc2 (patch)
treed4c3e3acc2bc8f4731cdb9824ba4d1b9b5f510e8 /src/lib/cc/simple_parser.cc
parent[5021] SimpleParser unit-tests now use bison parser. (diff)
downloadkea-8e2c1545016f316adfa96127f68bac7f6b8eedc2.tar.xz
kea-8e2c1545016f316adfa96127f68bac7f6b8eedc2.zip
[5021] Changes after review:
- using const_pointer_cast in dhcp{4,6}/json_config_parser.cc - removed obsolete comment from dhcp_parsers_unittest.cc - updated simple_parser.h comments - added include <vector> in simple_parser.h
Diffstat (limited to 'src/lib/cc/simple_parser.cc')
-rw-r--r--src/lib/cc/simple_parser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/cc/simple_parser.cc b/src/lib/cc/simple_parser.cc
index aeaeb469bb..21444b75e7 100644
--- a/src/lib/cc/simple_parser.cc
+++ b/src/lib/cc/simple_parser.cc
@@ -123,7 +123,7 @@ size_t SimpleParser::setDefaults(isc::data::ElementPtr scope,
// ... and insert it into the provided Element tree.
scope->set(def_value.name_, x);
- cnt++;
+ ++cnt;
}
return (cnt);