summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/Database.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceGrid/Database.cpp')
-rw-r--r--cpp/src/IceGrid/Database.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/src/IceGrid/Database.cpp b/cpp/src/IceGrid/Database.cpp
index 9ea5c095520..63341364459 100644
--- a/cpp/src/IceGrid/Database.cpp
+++ b/cpp/src/IceGrid/Database.cpp
@@ -1005,10 +1005,12 @@ Database::getLocatorAdapterInfo(const string& id,
}
bool
-Database::addAdapterSyncCallback(const string& id, const SynchronizationCallbackPtr& callback)
+Database::addAdapterSyncCallback(const string& id,
+ const SynchronizationCallbackPtr& callback,
+ const std::set<std::string>& excludes)
{
Lock sync(*this); // Make sure this isn't call during an update.
- return _adapterCache.get(id)->addSyncCallback(callback);
+ return _adapterCache.get(id)->addSyncCallback(callback, excludes);
}
AdapterInfoSeq