mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-16 10:20:30 +00:00
Make a member function a const member function.
Issue found by cppcheck.
This commit is contained in:
parent
dc7c1bbb30
commit
230c1a4271
@ -250,7 +250,7 @@ public:
|
||||
bool operator < ( const class_tag& t) const{
|
||||
return name_ < t.name_;
|
||||
}
|
||||
bool operator == (const class_tag & other){
|
||||
bool operator == (const class_tag & other) const {
|
||||
return name_ == other.name_;
|
||||
}
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user