Skip to content

Commit

Permalink
remove const from alignment_description return type
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeck88 committed May 26, 2014
1 parent 96d616e commit a28ca00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unit_types.hpp
Expand Up @@ -243,7 +243,7 @@ class unit_type
)

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) {
Expand Down

0 comments on commit a28ca00

Please sign in to comment.