Skip to content

Commit

Permalink
added const
Browse files Browse the repository at this point in the history
  • Loading branch information
mnesarco committed Jun 29, 2021
1 parent 95225b8 commit 2a43232
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions imgui_sugar.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ namespace ImGuiSugar
operator bool() const & noexcept { return _state; }

private:
bool _state;
ScopeEndCallback _end;
const bool _state;
const ScopeEndCallback _end;
};

// For special cases, transform void(*)(int) to void(*)()
Expand Down

0 comments on commit 2a43232

Please sign in to comment.