Skip to content

Commit

Permalink
Make some members private
Browse files Browse the repository at this point in the history
  • Loading branch information
greg7mdp committed Aug 24, 2024
1 parent 589c9f9 commit e2cafcb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/gtl/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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_;
Expand Down

0 comments on commit e2cafcb

Please sign in to comment.