Fix for C++
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/01b088fe Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/01b088fe Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/01b088fe Branch: refs/heads/ignite-3477-debug Commit: 01b088fed55d3bcefad5d935f704d7d6f63e218d Parents: be7296c Author: Igor Sapego <[email protected]> Authored: Mon Apr 10 21:06:53 2017 +0300 Committer: Igor Sapego <[email protected]> Committed: Mon Apr 10 21:06:53 2017 +0300 ---------------------------------------------------------------------- .../cpp/binary/include/ignite/impl/binary/binary_utils.h | 1 - .../cpp/binary/include/ignite/impl/binary/binary_writer_impl.h | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/01b088fe/modules/platforms/cpp/binary/include/ignite/impl/binary/binary_utils.h ---------------------------------------------------------------------- diff --git a/modules/platforms/cpp/binary/include/ignite/impl/binary/binary_utils.h b/modules/platforms/cpp/binary/include/ignite/impl/binary/binary_utils.h index 268c2d8..3f2bc56 100644 --- a/modules/platforms/cpp/binary/include/ignite/impl/binary/binary_utils.h +++ b/modules/platforms/cpp/binary/include/ignite/impl/binary/binary_utils.h @@ -28,7 +28,6 @@ #include <ignite/time.h> #include <ignite/binary/binary_type.h> -#include <ignite/impl/binary/binary_writer_impl.h> namespace ignite { http://git-wip-us.apache.org/repos/asf/ignite/blob/01b088fe/modules/platforms/cpp/binary/include/ignite/impl/binary/binary_writer_impl.h ---------------------------------------------------------------------- diff --git a/modules/platforms/cpp/binary/include/ignite/impl/binary/binary_writer_impl.h b/modules/platforms/cpp/binary/include/ignite/impl/binary/binary_writer_impl.h index 5670193..52a3f64 100644 --- a/modules/platforms/cpp/binary/include/ignite/impl/binary/binary_writer_impl.h +++ b/modules/platforms/cpp/binary/include/ignite/impl/binary/binary_writer_impl.h @@ -32,6 +32,7 @@ #include "ignite/impl/binary/binary_utils.h" #include "ignite/impl/binary/binary_schema.h" #include "ignite/impl/binary/binary_type_manager.h" +#include "ignite/impl/binary/binary_object_impl.h" #include "ignite/binary/binary_consts.h" #include "ignite/binary/binary_type.h" #include "ignite/guid.h" @@ -718,9 +719,9 @@ namespace ignite // We are using direct constructor here to avoid check-overhead, as we know // at this point that underlying memory contains valid binary object. - ignite::binary::BinaryObject binObj(*stream->GetMemory(), pos, &idRslvr, metaMgr); + BinaryObjectImpl binObj(*stream->GetMemory(), pos, &idRslvr, metaMgr); - int32_t hash = BinaryUtils::GetDataHashCode(binObj.impl.GetData(), binObj.impl.GetLength()); + int32_t hash = BinaryUtils::GetDataHashCode(binObj.GetData(), binObj.GetLength()); stream->WriteInt32(hashPos, hash); }
