Core/Code: Unify codestyle for brackets: {} to { }.

Also added missing copyright to some files.
This commit is contained in:
Ascathor
2013-10-27 22:27:46 +01:00
parent e5553cfb78
commit 2607738990
312 changed files with 1372 additions and 1066 deletions

View File

@@ -35,7 +35,7 @@ template <typename Result, typename ParamType, bool chain = false>
class QueryCallback
{
public:
QueryCallback() : _param(), _stage(chain ? 0 : CALLBACK_STAGE_INVALID) {}
QueryCallback() : _param(), _stage(chain ? 0 : CALLBACK_STAGE_INVALID) { }
//! The parameter of this function should be a resultset returned from either .AsyncQuery or .AsyncPQuery
void SetFutureResult(ACE_Future<Result> value)
@@ -115,7 +115,7 @@ template <typename Result, typename ParamType1, typename ParamType2, bool chain
class QueryCallback_2
{
public:
QueryCallback_2() : _stage(chain ? 0 : CALLBACK_STAGE_INVALID) {}
QueryCallback_2() : _stage(chain ? 0 : CALLBACK_STAGE_INVALID) { }
//! The parameter of this function should be a resultset returned from either .AsyncQuery or .AsyncPQuery
void SetFutureResult(ACE_Future<Result> value)

View File

@@ -30,7 +30,7 @@ namespace ACE_Based
class Runnable
{
public:
virtual ~Runnable() {}
virtual ~Runnable() { }
virtual void run() = 0;
void incReference() { ++m_refs; }
@@ -100,7 +100,7 @@ namespace ACE_Based
typedef ACE_TSS<Thread> ThreadStorage;
//global object - container for Thread class representation of every thread
static ThreadStorage m_ThreadStorage;
//use this object to determine current OS thread priority values mapped to enum Priority{}
//use this object to determine current OS thread priority values mapped to enum Priority{ }
static ThreadPriority m_TpEnum;
};