Fix: Remove need to instantiate SmallStack's pool object by making it a singleton method

This commit is contained in:
Charles Pigott
2018-04-21 14:56:02 +01:00
committed by Patric Stout
parent 5c5267726f
commit 86012e10ea
2 changed files with 16 additions and 15 deletions

View File

@@ -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);