fix build

This commit is contained in:
Nikolai Kochetov 2018-03-19 19:13:50 +03:00
parent 372bc658f9
commit 5890b1cd16

View File

@ -85,7 +85,7 @@ private:
{
public:
T & operator*() const & { return boost::intrusive_ptr<T>::operator*(); }
T && operator*() const && { return *const_cast<std::remove_const<T>::type>(boost::intrusive_ptr<T>::get()); }
T && operator*() const && { return *const_cast<* typename std::remove_const<T>::type>(boost::intrusive_ptr<T>::get()); }
};