Fix: Remove need to instantiate SmallStack's pool object by making it a singleton method
This commit is contained in:

committed by
Patric Stout

parent
5c5267726f
commit
86012e10ea
@@ -35,9 +35,6 @@
|
||||
StationPool _station_pool("Station");
|
||||
INSTANTIATE_POOL_METHODS(Station)
|
||||
|
||||
typedef StationIDStack::SmallStackPool StationIDStackPool;
|
||||
template<> StationIDStackPool StationIDStack::_pool = StationIDStackPool();
|
||||
|
||||
BaseStation::~BaseStation()
|
||||
{
|
||||
free(this->name);
|
||||
|
Reference in New Issue
Block a user