mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-19 04:20:34 +00:00
add a little const
This commit is contained in:
parent
170c33654e
commit
7bc5ae0933
@ -320,7 +320,7 @@ public:
|
||||
{
|
||||
static const t_string empty_string = "";
|
||||
|
||||
string_map::const_iterator itor = map_.find(key);
|
||||
const string_map::const_iterator itor = map_.find(key);
|
||||
if(itor == map_.end()) {
|
||||
return empty_string;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user