(svn r22567) -Codechange: Store persistent storages inside a pool.
This commit is contained in:
@@ -11,8 +11,12 @@
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "newgrf_storage.h"
|
||||
#include "core/pool_func.hpp"
|
||||
#include <set>
|
||||
|
||||
PersistentStoragePool _persistent_storage_pool("PersistentStorage");
|
||||
INSTANTIATE_POOL_METHODS(PersistentStorage)
|
||||
|
||||
/** The changed storage arrays */
|
||||
static std::set<BaseStorageArray*> _changed_storage_arrays;
|
||||
|
||||
|
Reference in New Issue
Block a user