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/09/22 20:23:58 UTC

[geode-native] branch develop updated: GEODE-3630: Fixes compiler errors on gcc.

This is an automated email from the ASF dual-hosted git repository.

jbarrett pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-native.git


The following commit(s) were added to refs/heads/develop by this push:
     new 4f28bc8  GEODE-3630: Fixes compiler errors on gcc.
4f28bc8 is described below

commit 4f28bc82193d2f8d31205cd6e82121daa25d6379
Author: Jacob Barrett <jb...@pivotal.io>
AuthorDate: Fri Sep 22 13:19:07 2017 -0700

    GEODE-3630: Fixes compiler errors on gcc.
---
 cppcache/src/CacheFactory.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/cppcache/src/CacheFactory.cpp b/cppcache/src/CacheFactory.cpp
index 288bf3c..06da8d3 100644
--- a/cppcache/src/CacheFactory.cpp
+++ b/cppcache/src/CacheFactory.cpp
@@ -96,9 +96,9 @@ CachePtr CacheFactory::create() {
   auto cache = create(DEFAULT_CACHE_NAME, nullptr);
 
   auto& cacheImpl = cache->m_cacheImpl;
-  auto& serializationRegistry = cacheImpl->getSerializationRegistry();
-  auto& pdxTypeRegistry = cacheImpl->getPdxTypeRegistry();
-  auto& memberListForVersionStamp =
+  const auto& serializationRegistry = cacheImpl->getSerializationRegistry();
+  const auto& pdxTypeRegistry = cacheImpl->getPdxTypeRegistry();
+  const auto& memberListForVersionStamp =
       std::ref(*(cacheImpl->getMemberListForVersionStamp()));
 
   serializationRegistry->addType2(

-- 
To stop receiving notification emails like this one, please contact
['"commits@geode.apache.org" <co...@geode.apache.org>'].