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 <[email protected]>
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
['"[email protected]" <[email protected]>'].