mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-24 19:12:56 +00:00
Add missing const in ModuleLoader
Add the required const to operator == and != as required and warned about with C++20. Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
@@ -200,8 +200,8 @@ public:
|
||||
iterator& operator++();
|
||||
iterator& operator++(int);
|
||||
|
||||
[[nodiscard]] bool operator==(const iterator&);
|
||||
[[nodiscard]] bool operator!=(const iterator&);
|
||||
[[nodiscard]] bool operator==(const iterator&) const;
|
||||
[[nodiscard]] bool operator!=(const iterator&) const;
|
||||
|
||||
private:
|
||||
Result* backRef{nullptr};
|
||||
|
||||
Reference in New Issue
Block a user