mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02:00
Use std::vector instead of std::list in StaticObjectList and MutexedMap::getValues()
This commit is contained in:
@@ -23,7 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
#include "irrlichttypes_bloated.h"
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
#include <list>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
#include "debug.h"
|
||||
|
||||
@@ -95,7 +95,7 @@ public:
|
||||
from m_stored and inserted to m_active.
|
||||
The caller directly manipulates these containers.
|
||||
*/
|
||||
std::list<StaticObject> m_stored;
|
||||
std::vector<StaticObject> m_stored;
|
||||
std::map<u16, StaticObject> m_active;
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user