diff options
Diffstat (limited to 'sigscript')
| -rw-r--r-- | sigscript/Config.h | 2 | ||||
| -rw-r--r-- | sigscript/Global.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sigscript/Config.h b/sigscript/Config.h index 69277e61..209795bc 100644 --- a/sigscript/Config.h +++ b/sigscript/Config.h @@ -98,7 +98,7 @@ template<typename T> bool Config::valueOfType(const QString& name, T* value, con while (par) { if (par->hasValue(name)) - return par->valueOfType<T>(name, value, true); + return par->valueOfType(name, value, true); par = par->m_parent; } } diff --git a/sigscript/Global.h b/sigscript/Global.h index 56b50fc6..c1529bff 100644 --- a/sigscript/Global.h +++ b/sigscript/Global.h @@ -43,7 +43,7 @@ } #define ALLOW_OVERRIDE(class, type, variable) \ type value; \ - if (valueOfType<type>(#variable, &value) && m_##class->variable##Check(value)) \ + if (valueOfType(#variable, &value) && m_##class->variable##Check(value)) \ return value #endif |
