From ba1e8bc2463956d696b8c10d785fcb44d79c472a Mon Sep 17 00:00:00 2001 From: Nikolai Kochetov Date: Mon, 19 Mar 2018 19:19:05 +0300 Subject: [PATCH] fix build --- dbms/src/Common/COWPtr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/src/Common/COWPtr.h b/dbms/src/Common/COWPtr.h index e1a76da8031..16ac284b7ad 100644 --- a/dbms/src/Common/COWPtr.h +++ b/dbms/src/Common/COWPtr.h @@ -85,7 +85,7 @@ private: { public: T & operator*() const & { return boost::intrusive_ptr::operator*(); } - T && operator*() const && { return *const_cast::type>(boost::intrusive_ptr::get()); } + T && operator*() const && { return *const_cast::type *>(boost::intrusive_ptr::get()); } };