You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by al...@apache.org on 2020/08/15 01:48:00 UTC
[incubator-datasketches-cpp] branch tuple_sketch updated: msvc
compatibility
This is an automated email from the ASF dual-hosted git repository.
alsay pushed a commit to branch tuple_sketch
in repository https://gitbox.apache.org/repos/asf/incubator-datasketches-cpp.git
The following commit(s) were added to refs/heads/tuple_sketch by this push:
new 81a7942 msvc compatibility
81a7942 is described below
commit 81a7942cbdb967d269c02976faaf5110067c62aa
Author: AlexanderSaydakov <Al...@users.noreply.github.com>
AuthorDate: Fri Aug 14 18:47:44 2020 -0700
msvc compatibility
---
tuple/include/tuple_sketch_impl.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tuple/include/tuple_sketch_impl.hpp b/tuple/include/tuple_sketch_impl.hpp
index fff3b2c..a993193 100644
--- a/tuple/include/tuple_sketch_impl.hpp
+++ b/tuple/include/tuple_sketch_impl.hpp
@@ -507,7 +507,7 @@ compact_tuple_sketch<S, A> compact_tuple_sketch<S, A>::deserialize(const void* b
ptr += copy_from_mem(ptr, &key, sizeof(key));
ptr += sd.deserialize(ptr, base + size - ptr, summary.get(), 1);
entries.push_back(Entry(key, std::move(*summary)));
- summary->~S();
+ (*summary).~S();
}
}
const bool is_ordered = flags_byte & (1 << flags::IS_ORDERED);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org