You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ec...@apache.org on 2018/04/27 14:20:11 UTC

[geode-native] branch develop updated: GEODE-4854: Fix build error on Windows

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

echobravo 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 0f2ec37  GEODE-4854: Fix build error on Windows
0f2ec37 is described below

commit 0f2ec3748d33dc5bcef4ca638b102d7a8fbe8ce1
Author: Blake Bender <ek...@hotmail.com>
AuthorDate: Fri Apr 27 09:20:07 2018 -0500

    GEODE-4854: Fix build error on Windows
    
    * simplify previous fix
---
 clicache/src/CqAttributesMutator.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clicache/src/CqAttributesMutator.hpp b/clicache/src/CqAttributesMutator.hpp
index ed9e3da..6740fed 100644
--- a/clicache/src/CqAttributesMutator.hpp
+++ b/clicache/src/CqAttributesMutator.hpp
@@ -105,7 +105,7 @@ namespace Apache
         /// <param name="nativeptr">The native object pointer</param>
         inline CqAttributesMutator<TKey, TResult>(native::CqAttributesMutator* nativeptr)
         {
-            m_nativeptr = gcnew native_unique_ptr<native::CqAttributesMutator>(nativeptr);
+            m_nativeptr = gcnew native_unique_ptr<native::CqAttributesMutator>(std::unique_ptr<native::CqAttributesMutator>(nativeptr));
         }
 
         native_unique_ptr<native::CqAttributesMutator>^ m_nativeptr;

-- 
To stop receiving notification emails like this one, please contact
echobravo@apache.org.