# HG changeset patch # User Sebastien Jodogne # Date 1726992411 -7200 # Node ID a7f841fc4a9f00567430ef929c15f28913298f90 # Parent 373cf7d747cc551866d40efc81711dd2271c58ed fix builds on older compilers diff -r 373cf7d747cc -r a7f841fc4a9f Framework/Plugins/IndexBackend.cpp --- a/Framework/Plugins/IndexBackend.cpp Sun Sep 22 10:03:36 2024 +0200 +++ b/Framework/Plugins/IndexBackend.cpp Sun Sep 22 10:06:51 2024 +0200 @@ -112,13 +112,7 @@ } - void IndexBackend::ReadChangesInternal(IDatabaseBackendOutput& output, - bool& done, - DatabaseManager& manager, - DatabaseManager::CachedStatement& statement, - const Dictionary& args, - uint32_t limit, - bool returnFirstResults) + namespace // Anonymous namespace to avoid clashes between compilation modules { struct Change { @@ -133,7 +127,17 @@ { } }; - + } + + + void IndexBackend::ReadChangesInternal(IDatabaseBackendOutput& output, + bool& done, + DatabaseManager& manager, + DatabaseManager::CachedStatement& statement, + const Dictionary& args, + uint32_t limit, + bool returnFirstResults) + { statement.Execute(args); std::list changes;