diff --git a/repertory/repertory_test/src/app_config_test.cpp b/repertory/repertory_test/src/app_config_test.cpp index 16a2eac3..8c540040 100644 --- a/repertory/repertory_test/src/app_config_test.cpp +++ b/repertory/repertory_test/src/app_config_test.cpp @@ -201,7 +201,7 @@ static void common_tests(app_config &config, provider_type prov) { EXPECT_STREQ("test2", value.c_str()); }}, {JSON_API_PORT, - [](const app_config &cfg) { + [](app_config &cfg) { cfg.set_api_port(0U); EXPECT_EQ(std::uint16_t(0U), cfg.get_api_port());