summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/ReplicaCache.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2017-03-08 19:37:13 -0500
committerBernard Normier <bernard@zeroc.com>2017-03-08 19:37:13 -0500
commit11678336dea1f3676881b87bbe8ca3e3cb6b5296 (patch)
treeec4bbc16d9fdfe1f9c48f374f26169ba4e88cb3a /cpp/src/IceGrid/ReplicaCache.cpp
parentPython thread hook fixes (diff)
downloadice-11678336dea1f3676881b87bbe8ca3e3cb6b5296.tar.bz2
ice-11678336dea1f3676881b87bbe8ca3e3cb6b5296.tar.xz
ice-11678336dea1f3676881b87bbe8ca3e3cb6b5296.zip
Removed Current's default value in the C++11 mapping
Renamed Ice::noExplicitCurrent to Ice::emptyCurrent
Diffstat (limited to 'cpp/src/IceGrid/ReplicaCache.cpp')
-rw-r--r--cpp/src/IceGrid/ReplicaCache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/ReplicaCache.cpp b/cpp/src/IceGrid/ReplicaCache.cpp
index d7e183da212..6166daf1b45 100644
--- a/cpp/src/IceGrid/ReplicaCache.cpp
+++ b/cpp/src/IceGrid/ReplicaCache.cpp
@@ -63,7 +63,7 @@ ReplicaCache::add(const string& name, const ReplicaSessionIPtr& session)
{
try
{
- session->destroy();
+ session->destroy(Ice::emptyCurrent);
}
catch(const Ice::LocalException&)
{