mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-09 16:48:01 +00:00
Fix ignored qualifiers warning
This commit is contained in:
parent
60c62bcabc
commit
206096cc1e
@ -198,7 +198,7 @@ public:
|
||||
/// The returned vector will not be empty, provided this has been built
|
||||
/// to the HELP_INDEXED status.
|
||||
const std::vector<unit_race::GENDER>& genders() const { return genders_; }
|
||||
const bool has_gender_variation(unit_race::GENDER gender) const
|
||||
bool has_gender_variation(unit_race::GENDER gender) const
|
||||
{
|
||||
return std::find(genders_.begin(), genders_.end(), gender) != genders_.end();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user