summaryrefslogtreecommitdiff
path: root/shared/loki/OrderedStatic.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:14:37 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:14:37 +0200
commit8bf668665b107469086f16cb8ad23e47d479d2b4 (patch)
tree66a91ef06a8caa7cd6819dcbe1860693d3eda8d5 /shared/loki/OrderedStatic.h
parent3.21 (diff)
downloadFreeFileSync-8bf668665b107469086f16cb8ad23e47d479d2b4.tar.gz
FreeFileSync-8bf668665b107469086f16cb8ad23e47d479d2b4.tar.bz2
FreeFileSync-8bf668665b107469086f16cb8ad23e47d479d2b4.zip
4.0
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