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:
parent
96d616eb4d
commit
a28ca002af
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue