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

alsay pushed a commit to branch theta
in repository 
https://gitbox.apache.org/repos/asf/incubator-datasketches-postgresql.git

commit b177b7f8d4516aaf43fd7fbd24df05d27a4990c5
Author: AlexanderSaydakov <[email protected]>
AuthorDate: Mon Jun 3 16:23:36 2019 -0700

    fixed contruct
---
 src/allocator.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/allocator.h b/src/allocator.h
index 2388f98..9711bda 100644
--- a/src/allocator.h
+++ b/src/allocator.h
@@ -46,7 +46,7 @@ public:
     return static_cast<size_type>(-1) / sizeof(T);
   }
 
-  void construct(pointer p, const value_type&& x) {
+  void construct(pointer p, const value_type& x) {
     new(p) value_type(std::forward<const value_type>(x));
   }
   void destroy(pointer p) { p->~value_type(); }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to