summaryrefslogtreecommitdiff
path: root/shared/loki/OrderedStatic.h
diff options
context:
space:
mode:
Diffstat (limited to 'shared/loki/OrderedStatic.h')
-rw-r--r--shared/loki/OrderedStatic.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/shared/loki/OrderedStatic.h b/shared/loki/OrderedStatic.h
index 0f26b6e0..f0ff73c3 100644
--- a/shared/loki/OrderedStatic.h
+++ b/shared/loki/OrderedStatic.h
@@ -76,8 +76,8 @@ protected:
void SetLongevity(T* ptr)
{
- val_=ptr;
- Loki::SetLongevity(val_,longevity_);
+ val_ = ptr;
+ Loki::SetLongevity(val_, longevity_);
}
private:
@@ -102,7 +102,7 @@ public:
typedef void (OrderedStaticCreatorFunc::*Creator)();
void createObjects();
- void registerObject(unsigned int longevity,OrderedStaticCreatorFunc*,Creator);
+ void registerObject(unsigned int longevity, OrderedStaticCreatorFunc*, Creator);
private:
OrderedStaticManagerClass(const OrderedStaticManagerClass&);
@@ -110,7 +110,7 @@ private:
struct Data
{
- Data(unsigned int,OrderedStaticCreatorFunc*, Creator);
+ Data(unsigned int, OrderedStaticCreatorFunc*, Creator);
unsigned int longevity;
OrderedStaticCreatorFunc* object;
Creator creator;
@@ -158,7 +158,7 @@ public:
OrderedStatic() : Private::OrderedStaticBase<T>(L)
{
OrderedStaticManager::Instance().registerObject
- (L,this,&Private::OrderedStaticCreatorFunc::createObject);
+ (L, this, &Private::OrderedStaticCreatorFunc::createObject);
}
void createObject()
@@ -178,7 +178,7 @@ public:
OrderedStatic(P1 p) : Private::OrderedStaticBase<T>(L), para_(p)
{
OrderedStaticManager::Instance().registerObject
- (L,this,&Private::OrderedStaticCreatorFunc::createObject);
+ (L, this, &Private::OrderedStaticCreatorFunc::createObject);
}
void createObject()
@@ -203,7 +203,7 @@ public:
OrderedStatic(Func p) : Private::OrderedStaticBase<T>(L), para_(p)
{
OrderedStaticManager::Instance().registerObject
- (L,this,&Private::OrderedStaticCreatorFunc::createObject);
+ (L, this, &Private::OrderedStaticCreatorFunc::createObject);
}
void createObject()
bgstack15