summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Object.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-01-13 13:27:50 +0100
committerJose <jose@zeroc.com>2016-01-13 13:27:50 +0100
commitdee599627d8b4228a0efd47f2480749edf399a39 (patch)
tree5ea0106f67816a34858314b2bf3e75a5e603423c /cpp/src/Ice/Object.cpp
parentMinor fix to ICE_VALUE_FACTORY macro (diff)
downloadice-dee599627d8b4228a0efd47f2480749edf399a39.tar.bz2
ice-dee599627d8b4228a0efd47f2480749edf399a39.tar.xz
ice-dee599627d8b4228a0efd47f2480749edf399a39.zip
Use Ice::noExplicitCurrent as C++ Current default parameter
Diffstat (limited to 'cpp/src/Ice/Object.cpp')
-rw-r--r--cpp/src/Ice/Object.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/Ice/Object.cpp b/cpp/src/Ice/Object.cpp
index f20b22deded..bc0e1df7843 100644
--- a/cpp/src/Ice/Object.cpp
+++ b/cpp/src/Ice/Object.cpp
@@ -19,6 +19,11 @@ using namespace std;
using namespace Ice;
using namespace IceInternal;
+namespace Ice
+{
+const Current noExplicitCurrent = Current();
+}
+
#ifndef ICE_CPP11_MAPPING
Object* Ice::upCast(Object* p) { return p; }