summaryrefslogtreecommitdiffstats
path: root/sigscript
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-02-09 05:06:05 -0500
committerBen Boeckel <MathStuf@gmail.com>2009-02-09 05:06:05 -0500
commitdfa97018d242a736ce4d73803a52f70e701b7f2f (patch)
tree3f511a598eeb7e317210807443f9111dffe53ee3 /sigscript
parent231e4e04db1d97330cd5f15789069000ec186138 (diff)
downloadsigen-dfa97018d242a736ce4d73803a52f70e701b7f2f.tar.gz
sigen-dfa97018d242a736ce4d73803a52f70e701b7f2f.tar.xz
sigen-dfa97018d242a736ce4d73803a52f70e701b7f2f.zip
Remove unneeded template specifications
Diffstat (limited to 'sigscript')
-rw-r--r--sigscript/Config.h2
-rw-r--r--sigscript/Global.h2
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