Repository: ignite
Updated Branches:
  refs/heads/ignite-1786 1138cf8c7 -> a07b58b7b


IGNITE-2439: Removed NULL and <cstddef> from interop_stream_position_guard.h.


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

Branch: refs/heads/ignite-1786
Commit: a07b58b7b869c8b2dd556680e26cac0cc7e0f15d
Parents: 1138cf8
Author: isapego <[email protected]>
Authored: Mon Jan 25 16:29:26 2016 +0300
Committer: vozerov-gridgain <[email protected]>
Committed: Mon Jan 25 16:29:26 2016 +0300

----------------------------------------------------------------------
 .../include/ignite/impl/interop/interop_stream_position_guard.h  | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/a07b58b7/modules/platforms/cpp/binary/include/ignite/impl/interop/interop_stream_position_guard.h
----------------------------------------------------------------------
diff --git 
a/modules/platforms/cpp/binary/include/ignite/impl/interop/interop_stream_position_guard.h
 
b/modules/platforms/cpp/binary/include/ignite/impl/interop/interop_stream_position_guard.h
index 92b835f..0e0cbc8 100644
--- 
a/modules/platforms/cpp/binary/include/ignite/impl/interop/interop_stream_position_guard.h
+++ 
b/modules/platforms/cpp/binary/include/ignite/impl/interop/interop_stream_position_guard.h
@@ -18,8 +18,6 @@
 #ifndef _IGNITE_IMPL_INTEROP_STREAM_POSITION_GUARD
 #define _IGNITE_IMPL_INTEROP_OUTPUT_POSITION_GUARD
 
-#include <cstddef>
-
 #include "ignite/impl/interop/interop_memory.h"
 
 namespace ignite
@@ -62,7 +60,7 @@ namespace ignite
                  */
                 void Release()
                 {
-                    stream = NULL;
+                    stream = 0;
                 }
 
             private:

Reply via email to