You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by jb...@apache.org on 2017/04/05 17:29:34 UTC

geode-native git commit: GEODE-2713: Workaround for Solaris Studio C++11 shared_ptr bug.

Repository: geode-native
Updated Branches:
  refs/heads/develop b0f00d044 -> aefb2eba5


GEODE-2713: Workaround for Solaris Studio C++11 shared_ptr bug.

- SS C++11 missing explicit bool cast operator.


Project: http://git-wip-us.apache.org/repos/asf/geode-native/repo
Commit: http://git-wip-us.apache.org/repos/asf/geode-native/commit/aefb2eba
Tree: http://git-wip-us.apache.org/repos/asf/geode-native/tree/aefb2eba
Diff: http://git-wip-us.apache.org/repos/asf/geode-native/diff/aefb2eba

Branch: refs/heads/develop
Commit: aefb2eba5caf6ea7bb3650095adc5f1194a45f66
Parents: b0f00d0
Author: Jacob Barrett <jb...@pivotal.io>
Authored: Wed Apr 5 10:29:02 2017 -0700
Committer: Jacob Barrett <jb...@pivotal.io>
Committed: Wed Apr 5 10:29:02 2017 -0700

----------------------------------------------------------------------
 src/cppcache/src/ThinClientRegion.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode-native/blob/aefb2eba/src/cppcache/src/ThinClientRegion.cpp
----------------------------------------------------------------------
diff --git a/src/cppcache/src/ThinClientRegion.cpp b/src/cppcache/src/ThinClientRegion.cpp
index 4459a6f..0d763b9 100644
--- a/src/cppcache/src/ThinClientRegion.cpp
+++ b/src/cppcache/src/ThinClientRegion.cpp
@@ -3933,7 +3933,7 @@ void ChunkedFunctionExecutionResponse::handleChunk(
     } else {
       result = dynCast<CacheablePtr>(value);
     }
-    if (m_resultCollectorLock != NULL) {
+    if (m_resultCollectorLock.get() != 0) {
       ACE_Guard<ACE_Recursive_Thread_Mutex> guard(*m_resultCollectorLock);
       m_rc->addResult(result);
     } else {