diff options
author | Jose <jose@zeroc.com> | 2014-08-21 21:12:23 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2014-08-21 21:12:23 +0200 |
commit | 057bb2a0872457a455392c5fe4d7b2729dfdee82 (patch) | |
tree | 0cf27382f0c323865f381625855ec52d9d671258 /py/modules/IcePy/Connection.cpp | |
parent | Fix SSL configuration test to create Find.keychain (diff) | |
download | ice-057bb2a0872457a455392c5fe4d7b2729dfdee82.tar.bz2 ice-057bb2a0872457a455392c5fe4d7b2729dfdee82.tar.xz ice-057bb2a0872457a455392c5fe4d7b2729dfdee82.zip |
python minor build fix
Diffstat (limited to 'py/modules/IcePy/Connection.cpp')
-rw-r--r-- | py/modules/IcePy/Connection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/modules/IcePy/Connection.cpp b/py/modules/IcePy/Connection.cpp index ba7ef02c510..aea2584be10 100644 --- a/py/modules/IcePy/Connection.cpp +++ b/py/modules/IcePy/Connection.cpp @@ -71,10 +71,10 @@ private: void invoke(const string& methodName, const Ice::ConnectionPtr& con) { AdoptThread adoptThread; // Ensure the current thread is able to call into Python. - +#ifndef NDEBUG ConnectionObject* c = reinterpret_cast<ConnectionObject*>(_con); assert(con == *(c->connection)); - +#endif if(!PyObject_HasAttrString(_cb, STRCAST(methodName.c_str()))) { ostringstream ostr; |