[map] Fix compilation with GCC for bookmarks_test.

Without this commit, it just compiles with Clang.

Signed-off-by: Gerion Entrup <gerion.entrup@flump.de>
This commit is contained in:
Gerion Entrup 2023-12-12 23:24:13 +01:00 committed by Viktor Govako
parent 673b7377e4
commit 120fc559be

View file

@ -134,9 +134,9 @@ char const * kmlString =
"</kml>";
#define BM_CALLBACKS { \
[]() \
[]() -> StringsBundle const & \
{ \
static StringsBundle dummyBundle; \
static StringsBundle const dummyBundle; \
return dummyBundle; \
}, \
static_cast<BookmarkManager::Callbacks::GetSeacrhAPIFn>(nullptr), \
@ -1216,9 +1216,9 @@ UNIT_CLASS_TEST(Runner, Bookmarks_Listeners)
};
BookmarkManager::Callbacks callbacks(
[]()
[]() -> StringsBundle const &
{
static StringsBundle dummyBundle;
static StringsBundle const dummyBundle;
return dummyBundle;
},
static_cast<BookmarkManager::Callbacks::GetSeacrhAPIFn>(nullptr),