squash! Add missing ref qualifier to the other overload

This commit is contained in:
Marco Magdy 2019-06-03 15:27:18 +00:00
parent fb4a00d1f8
commit 9c4c163583

View File

@ -491,7 +491,7 @@ public:
// bools without throwing... It's a lost cause anyway!
}
T operator->() { return _val; }
T& operator->() { return _val; }
const T& operator->() const { return _val; }
typedef typename rm_ptr<T>::type& ref_t;