diff options
Diffstat (limited to 'lib/nes/common/list.hh')
| -rw-r--r-- | lib/nes/common/list.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/nes/common/list.hh b/lib/nes/common/list.hh index 5f0d258..d7a7d9b 100644 --- a/lib/nes/common/list.hh +++ b/lib/nes/common/list.hh @@ -39,7 +39,7 @@ namespace nes auto operator==(iterator const& other) -> bool { return current_ == other.current_; } auto operator!=(iterator const& other) -> bool { return current_ != other.current_; } - auto operator*() -> T* { return current_; } + auto operator*() const -> T* { return current_; } auto operator++() -> iterator& { |
