mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-19 18:10:37 +00:00
Mark WorldModel copy ctor and assignment operators as delete
This commit is contained in:
parent
48fde4b517
commit
4cf5136143
1 changed files with 5 additions and 5 deletions
|
@ -50,9 +50,6 @@ namespace MWWorld
|
|||
std::size_t mPtrIndexUpdateCounter = 0;
|
||||
ESM::RefNum mLastGeneratedRefnum;
|
||||
|
||||
WorldModel(const WorldModel&);
|
||||
WorldModel& operator=(const WorldModel&);
|
||||
|
||||
const ESM::Cell* getESMCellByName(std::string_view name);
|
||||
ESM::CellVariant getCellByName(std::string_view name);
|
||||
|
||||
|
@ -62,10 +59,13 @@ namespace MWWorld
|
|||
void writeCell(ESM::ESMWriter& writer, CellStore& cell) const;
|
||||
|
||||
public:
|
||||
void clear();
|
||||
|
||||
explicit WorldModel(const MWWorld::ESMStore& store, ESM::ReadersCache& reader);
|
||||
|
||||
WorldModel(const WorldModel&) = delete;
|
||||
WorldModel& operator=(const WorldModel&) = delete;
|
||||
|
||||
void clear();
|
||||
|
||||
CellStore* getExterior(int x, int y);
|
||||
CellStore* getInterior(std::string_view name);
|
||||
CellStore* getCell(std::string_view name); // interior or named exterior
|
||||
|
|
Loading…
Reference in a new issue