From 1d5f5482f91391a6dfee9ec0e7cb0a22ee5f0464 Mon Sep 17 00:00:00 2001 From: Hannes Schulze Date: Sat, 1 Feb 2025 00:38:55 +0100 Subject: implement screens --- lib/nes/common/list.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/nes/common/list.hh') 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& { -- cgit v1.3.1