diff options
author | Charles Pigott <charlespigott@googlemail.com> | 2018-04-21 14:56:02 +0100 |
---|---|---|
committer | Patric Stout <truebrain@openttd.org> | 2018-04-21 16:28:50 +0200 |
commit | 86012e10eaa9692cb16379bcfb8166bf26a81d5e (patch) | |
tree | 0ae9811b4fac58b6b58d5f4e7ce7e7917dfbdede /src/station.cpp | |
parent | 5c5267726f179554b928f19360cd98457cd947e4 (diff) | |
download | openttd-86012e10eaa9692cb16379bcfb8166bf26a81d5e.tar.xz |
Fix: Remove need to instantiate SmallStack's pool object by making it a singleton method
Diffstat (limited to 'src/station.cpp')
-rw-r--r-- | src/station.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/station.cpp b/src/station.cpp index 456262dea..f86286f3d 100644 --- a/src/station.cpp +++ b/src/station.cpp @@ -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); |