fix build

This commit is contained in:
Nikolai Kochetov 2018-03-19 19:17:30 +03:00
parent 5890b1cd16
commit d8cf1677de

View File

@ -85,7 +85,7 @@ private:
{
public:
T & operator*() const & { return boost::intrusive_ptr<T>::operator*(); }
T && operator*() const && { return *const_cast<* typename 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()); }
};