diff --git a/backward.hpp b/backward.hpp index e1a370f..33cb0ce 100644 --- a/backward.hpp +++ b/backward.hpp @@ -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::type& ref_t;