From b22b3bfd5ebfea31e22a03af1de9d29259c7aab8 Mon Sep 17 00:00:00 2001 From: Aleksandr Kirsanov Date: Mon, 4 Dec 2023 16:05:55 +0300 Subject: [PATCH] fix unit tests compilation after confdata refactoring --- tests/cpp/runtime/confdata-functions-test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/cpp/runtime/confdata-functions-test.cpp b/tests/cpp/runtime/confdata-functions-test.cpp index 726b44d703..4b905c827d 100644 --- a/tests/cpp/runtime/confdata-functions-test.cpp +++ b/tests/cpp/runtime/confdata-functions-test.cpp @@ -13,8 +13,9 @@ void init_global_confdata_confdata() { initiated = true; pid = 0; + std::forward_list force_ignore_prefixes; auto &global_manager = ConfdataGlobalManager::get(); - global_manager.init(1024 * 1024 * 16, std::unordered_set{}, nullptr); + global_manager.init(1024 * 1024 * 16, std::unordered_set{}, nullptr, std::move(force_ignore_prefixes)); auto confdata_sample_storage = global_manager.get_current().get_confdata(); confdata_sample_storage[string{"_key_1"}] = string{"value_1"};