Fix a gcc warning.

This commit is contained in:
Mark de Wever 2011-07-30 08:29:04 +00:00
parent 0b8bf4f9a8
commit f464421d15

View File

@ -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("\\^.+\\$"))