mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-19 23:59:04 +00:00
Fix a gcc warning.
This commit is contained in:
parent
0b8bf4f9a8
commit
f464421d15
@ -150,7 +150,7 @@ const std::string & get_allow_global(){
|
||||
return global_link;
|
||||
}
|
||||
|
||||
const std::string & get_allow_type(){
|
||||
static const std::string & get_allow_type(){
|
||||
static std::string allow_type = valid + allow + property("type")
|
||||
+property("name",sub(name_type))
|
||||
+property("value",sub("\\^.+\\$"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user