diff --git a/include/gtl/utils.hpp b/include/gtl/utils.hpp index a7965ff..88c15f3 100644 --- a/include/gtl/utils.hpp +++ b/include/gtl/utils.hpp @@ -123,6 +123,7 @@ class scoped_set_value { scoped_set_value& operator=(scoped_set_value&&) = delete; void* operator new(std::size_t) = delete; +private: T& v_; T old_value_; bool do_it_;