mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-21 10:39:41 +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;
|
std::size_t mPtrIndexUpdateCounter = 0;
|
||||||
ESM::RefNum mLastGeneratedRefnum;
|
ESM::RefNum mLastGeneratedRefnum;
|
||||||
|
|
||||||
WorldModel(const WorldModel&);
|
|
||||||
WorldModel& operator=(const WorldModel&);
|
|
||||||
|
|
||||||
const ESM::Cell* getESMCellByName(std::string_view name);
|
const ESM::Cell* getESMCellByName(std::string_view name);
|
||||||
ESM::CellVariant getCellByName(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;
|
void writeCell(ESM::ESMWriter& writer, CellStore& cell) const;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void clear();
|
|
||||||
|
|
||||||
explicit WorldModel(const MWWorld::ESMStore& store, ESM::ReadersCache& reader);
|
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* getExterior(int x, int y);
|
||||||
CellStore* getInterior(std::string_view name);
|
CellStore* getInterior(std::string_view name);
|
||||||
CellStore* getCell(std::string_view name); // interior or named exterior
|
CellStore* getCell(std::string_view name); // interior or named exterior
|
||||||
|
|
Loading…
Reference in a new issue