summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Instance.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2015-02-20 15:31:15 +0100
committerJose <jose@zeroc.com>2015-02-20 15:31:15 +0100
commit93ffa7fa5488fed2e62fe9668a0632784654b1ba (patch)
tree6e284f1cb50648839add9bef290084552985a920 /cpp/src/Ice/Instance.cpp
parentFix for ICE-6268, initialize enum, string and structs in Java/C#/Objective-C/... (diff)
downloadice-93ffa7fa5488fed2e62fe9668a0632784654b1ba.tar.bz2
ice-93ffa7fa5488fed2e62fe9668a0632784654b1ba.tar.xz
ice-93ffa7fa5488fed2e62fe9668a0632784654b1ba.zip
build fix
Diffstat (limited to 'cpp/src/Ice/Instance.cpp')
-rw-r--r--cpp/src/Ice/Instance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/Instance.cpp b/cpp/src/Ice/Instance.cpp
index a83e64ede65..b39bd0d7fe8 100644
--- a/cpp/src/Ice/Instance.cpp
+++ b/cpp/src/Ice/Instance.cpp
@@ -231,7 +231,7 @@ Timer::updateObserver(const Ice::Instrumentation::CommunicatorObserverPtr& obsv)
"Ice.Timer",
Ice::Instrumentation::ThreadStateIdle,
_observer.get()));
- _hasObserver.exchange(_observer.get());
+ _hasObserver.exchange(_observer.get() ? 1 : 0);
}
void