Revision: 1987
Author:
chrsc...@googlemail.com
Date: Fri Jun 21 06:35:17 2013
Log: Static var moved inside the function body.
http://code.google.com/p/insight-vmi/source/detail?r=1987
Modified:
/trunk/libinsight/typeruleparser.cpp
=======================================
--- /trunk/libinsight/typeruleparser.cpp Tue Feb 12 09:35:31 2013
+++ /trunk/libinsight/typeruleparser.cpp Fri Jun 21 06:35:17 2013
@@ -483,10 +483,10 @@
}
-static XmlSchema ruleSchema;
-
const XmlSchema &TypeRuleParser::schema()
{
+ static XmlSchema ruleSchema;
+
if (ruleSchema.isEmpty()) {
QStringList osfAttr(OsFilter::supportedFilters().keys());
osfAttr.prepend(xml::priority);