From 98ecf620f7de377dc8ae9ad7fbd1e3b24477e138 Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:11:56 +0200 Subject: 3.17 --- shared/loki/Factory.h | 40 ++++++++++++++++++++-------------------- shared/loki/Register.h | 4 ++-- shared/loki/ScopeGuard.h | 2 +- shared/loki/Singleton.h | 6 +++--- shared/loki/TypeTraits.h | 4 ++-- 5 files changed, 28 insertions(+), 28 deletions(-) (limited to 'shared/loki') diff --git a/shared/loki/Factory.h b/shared/loki/Factory.h index 6a1ac6b7..abf4ab3b 100644 --- a/shared/loki/Factory.h +++ b/shared/loki/Factory.h @@ -210,7 +210,7 @@ struct FactoryImpl > virtual ~FactoryImpl() {} virtual AP* CreateObject(const Id& id,Parm1, Parm2, Parm3, Parm4, Parm5, Parm6 ) - = 0; + = 0; }; template > virtual ~FactoryImpl() {} virtual AP* CreateObject(const Id& id,Parm1, Parm2, Parm3, Parm4, Parm5, Parm6, Parm7 ) - = 0; + = 0; }; template > virtual ~FactoryImpl() {} virtual AP* CreateObject(const Id& id,Parm1, Parm2, Parm3, Parm4, Parm5, Parm6, Parm7, Parm8) - = 0; + = 0; }; template > virtual ~FactoryImpl() {} virtual AP* CreateObject(const Id& id,Parm1, Parm2, Parm3, Parm4, Parm5, Parm6, Parm7, Parm8, Parm9) - = 0; + = 0; }; template > virtual ~FactoryImpl() {} virtual AP* CreateObject(const Id& id,Parm1, Parm2, Parm3, Parm4, Parm5, Parm6, Parm7, Parm8, Parm9,Parm10) - = 0; + = 0; }; template > virtual AP* CreateObject(const Id& id,Parm1, Parm2, Parm3, Parm4, Parm5, Parm6, Parm7, Parm8, Parm9,Parm10, Parm11) - = 0; + = 0; }; template virtual ~FactoryImpl() {} virtual AP* CreateObject(const Id& id,Parm1, Parm2, Parm3, Parm4, Parm5, Parm6 ) -= 0; + = 0; }; template virtual ~FactoryImpl() {} virtual AP* CreateObject(const Id& id,Parm1, Parm2, Parm3, Parm4, Parm5, Parm6, Parm7 ) -= 0; + = 0; }; template virtual ~FactoryImpl() {} virtual AP* CreateObject(const Id& id,Parm1, Parm2, Parm3, Parm4, Parm5, Parm6, Parm7, Parm8) -= 0; + = 0; }; template struct RegisterOnCreateSet : GenScatterHierarchy - {}; +{}; //////////////////////////////////////////////////////////////////////////////// /// \class UnRegisterOnDeleteSet @@ -95,7 +95,7 @@ struct RegisterOnCreateSet template struct UnRegisterOnDeleteSet : GenScatterHierarchy - {}; +{}; //////////////////////////////////////////////////////////////////////////////// diff --git a/shared/loki/ScopeGuard.h b/shared/loki/ScopeGuard.h index 0b5445f5..46e4d892 100644 --- a/shared/loki/ScopeGuard.h +++ b/shared/loki/ScopeGuard.h @@ -66,7 +66,7 @@ protected: j.Execute(); } catch(...) - {} + {} } mutable bool dismissed_; diff --git a/shared/loki/Singleton.h b/shared/loki/Singleton.h index 40cc7550..c5f1f567 100644 --- a/shared/loki/Singleton.h +++ b/shared/loki/Singleton.h @@ -567,21 +567,21 @@ public: /// \brief Longest possible SingletonWithLongevity lifetime: 0xFFFFFFFF template struct DieLast : SingletonFixedLongevity<0xFFFFFFFF ,T> - {}; +{}; /// \struct DieDirectlyBeforeLast /// \ingroup LongevityLifetimeGroup /// \brief Lifetime is a one less than DieLast: 0xFFFFFFFF-1 template struct DieDirectlyBeforeLast : SingletonFixedLongevity<0xFFFFFFFF-1 ,T> - {}; +{}; /// \struct DieFirst /// \ingroup LongevityLifetimeGroup /// \brief Shortest possible SingletonWithLongevity lifetime: 0 template struct DieFirst : SingletonFixedLongevity<0,T> - {}; +{}; }//namespace LongevityLifetime diff --git a/shared/loki/TypeTraits.h b/shared/loki/TypeTraits.h index 00ef069e..2d5af757 100644 --- a/shared/loki/TypeTraits.h +++ b/shared/loki/TypeTraits.h @@ -154,7 +154,7 @@ template <> struct AddParameterType template struct IsFunctionPointerRaw - {enum {result = 0};}; +{enum {result = 0};}; template struct IsFunctionPointerRaw @@ -531,7 +531,7 @@ struct IsFunctionPointerRaw struct IsMemberFunctionPointerRaw - {enum {result = 0};}; +{enum {result = 0};}; template struct IsMemberFunctionPointerRaw -- cgit