mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Use std::vector instead of std::list in StaticObjectList and MutexedMap::getValues()
This commit is contained in:
parent
06f328207f
commit
cd684497c2
5 changed files with 12 additions and 15 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue