remove const from alignment_description return type

http://www.wesnoth.org/irclogs/2014/05/%23wesnoth-dev.2014-05-26.log
This commit is contained in:
Chris Beck 2014-05-26 16:06:52 -04:00
parent 96d616eb4d
commit a28ca002af

View file

@ -243,7 +243,7 @@ public:
)
ALIGNMENT alignment() const { return alignment_; }
inline static const std::string alignment_description(ALIGNMENT align, unit_race::GENDER gender = unit_race::MALE)
inline static std::string alignment_description(ALIGNMENT align, unit_race::GENDER gender = unit_race::MALE)
{
std::string str = std::string();
if (gender == unit_race::FEMALE) {