Various Cleanups (framework/)

This commit is contained in:
Schmoozerd 2012-07-19 21:54:46 +02:00
parent 8951eed780
commit 9753625fd1
23 changed files with 239 additions and 224 deletions

View file

@ -33,7 +33,7 @@ namespace MaNGOS
{
public:
GeneralLock(MUTEX &m)
GeneralLock(MUTEX& m)
: i_mutex(m)
{
i_mutex.acquire();
@ -46,9 +46,9 @@ namespace MaNGOS
private:
GeneralLock(const GeneralLock &);
GeneralLock& operator=(const GeneralLock &);
MUTEX &i_mutex;
GeneralLock(const GeneralLock&);
GeneralLock& operator=(const GeneralLock&);
MUTEX& i_mutex;
};
template<class T>
@ -87,7 +87,7 @@ namespace MaNGOS
{
public:
Lock(ObjectLevelLockable<T, MUTEX> &host)
Lock(ObjectLevelLockable<T, MUTEX>& host)
: i_lock(host.i_mtx)
{
}
@ -126,7 +126,7 @@ namespace MaNGOS
ClassLevelLockable<T, MUTEX>::si_mtx.acquire();
}
Lock(const ClassLevelLockable<T, MUTEX> &)
Lock(const ClassLevelLockable<T, MUTEX>&)
{
ClassLevelLockable<T, MUTEX>::si_mtx.acquire();
}