Diffstat (limited to 'libopie2/opiepim/core/opimaccessfactory.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiepim/core/opimaccessfactory.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libopie2/opiepim/core/opimaccessfactory.h b/libopie2/opiepim/core/opimaccessfactory.h index eecfa96..283b6ab 100644 --- a/libopie2/opiepim/core/opimaccessfactory.h +++ b/libopie2/opiepim/core/opimaccessfactory.h @@ -56,9 +56,8 @@ namespace Opie { * * @author Stefan Eilers * @version 0.1 */ - */ template<class T> class OPimAccessFactory { @@ -104,11 +103,11 @@ class OPimAccessFactory * string unique for your application ! * @see OPimGlobal * */ - static T* default( OPimGlobal::PimType type, const QString& appName ){ + static T* default( typename OPimGlobal::PimType type, const QString& appName ){ - return create( type, OPimGlobal::DEFAULT, appName ) + return create( type, OPimGlobal::DEFAULT, appName ); } }; |