summaryrefslogtreecommitdiff
path: root/lib/nes/common/list.hh
diff options
context:
space:
mode:
authorHannes Schulze <haschu0103@outlook.de>2025-02-01 00:38:55 +0100
committerHannes Schulze <haschu0103@outlook.de>2025-02-01 00:38:55 +0100
commit1d5f5482f91391a6dfee9ec0e7cb0a22ee5f0464 (patch)
tree80e1dff12390aa36ec532da655136e4b83b6ccf3 /lib/nes/common/list.hh
parentccb81b60dac888e44079fb0228c1d5d8542ceade (diff)
implement screens
Diffstat (limited to 'lib/nes/common/list.hh')
-rw-r--r--lib/nes/common/list.hh2
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&
{