mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-11 01:40:53 +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
|
/// The returned vector will not be empty, provided this has been built
|
||||||
/// to the HELP_INDEXED status.
|
/// to the HELP_INDEXED status.
|
||||||
const std::vector<unit_race::GENDER>& genders() const { return genders_; }
|
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();
|
return std::find(genders_.begin(), genders_.end(), gender) != genders_.end();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user