Tracker: LockingList.h style fixes (minor)
This commit is contained in:
@@ -36,7 +36,7 @@ All rights reserved.
|
|||||||
|
|
||||||
|
|
||||||
#include <Locker.h>
|
#include <Locker.h>
|
||||||
#include "ObjectList.h"
|
#include <ObjectList.h>
|
||||||
|
|
||||||
|
|
||||||
namespace BPrivate {
|
namespace BPrivate {
|
||||||
@@ -46,9 +46,9 @@ class LockingList : public BObjectList<T> {
|
|||||||
public:
|
public:
|
||||||
LockingList(int32 itemsPerBlock = 20, bool owning = false);
|
LockingList(int32 itemsPerBlock = 20, bool owning = false);
|
||||||
~LockingList()
|
~LockingList()
|
||||||
{
|
{
|
||||||
Lock();
|
Lock();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Lock();
|
bool Lock();
|
||||||
void Unlock();
|
void Unlock();
|
||||||
@@ -61,7 +61,8 @@ private:
|
|||||||
|
|
||||||
template<class T>
|
template<class T>
|
||||||
LockingList<T>::LockingList(int32 itemsPerBlock, bool owning)
|
LockingList<T>::LockingList(int32 itemsPerBlock, bool owning)
|
||||||
: BObjectList<T>(itemsPerBlock, owning)
|
:
|
||||||
|
BObjectList<T>(itemsPerBlock, owning)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -93,4 +94,5 @@ LockingList<T>::IsLocked() const
|
|||||||
|
|
||||||
using namespace BPrivate;
|
using namespace BPrivate;
|
||||||
|
|
||||||
|
|
||||||
#endif // _LOCKING_LIST_H
|
#endif // _LOCKING_LIST_H
|
||||||
|
|||||||
Reference in New Issue
Block a user