(svn r12857) -Fix [FS#1948]: remove the last uses of AutoPtr in the station code.

This commit is contained in:
rubidium
2008-04-23 22:16:41 +00:00
parent 10ab24a5f1
commit dce1b33196
12 changed files with 75 additions and 317 deletions

View File

@@ -294,16 +294,7 @@ protected:
}
public:
/**
* Check whether we can allocate an item in this pool. This to prevent the
* need to actually construct the object and then destructing it again,
* which could be *very* costly.
* @return true if and only if at least ONE item can be allocated.
*/
static inline bool CanAllocateItem()
{
return AllocateRaw() != NULL;
}
static bool CanAllocateItem();
};