diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/dhcpsrv/tests/dbaccess_parser_unittest.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/dhcpsrv/tests/dbaccess_parser_unittest.cc b/src/lib/dhcpsrv/tests/dbaccess_parser_unittest.cc index e7a2166a82..24448271e9 100644 --- a/src/lib/dhcpsrv/tests/dbaccess_parser_unittest.cc +++ b/src/lib/dhcpsrv/tests/dbaccess_parser_unittest.cc @@ -184,9 +184,7 @@ private: /// /// @return true if the value of the parameter should be quoted. bool quoteValue(const std::string& parameter) const { - static const char* params[] = { "persist", "lfc-interval" }; - static std::set<std::string> params_set(params, params + sizeof(params)); - return (params_set.find(parameter) == params_set.end()); + return ((parameter != "persist") && (parameter != "lfc-interval")); } }; |