mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-21 11:39:44 +00:00
Issue #225: Land struct is not copyable.
Disabled copy constructor and assignment operator in Land structure.
This commit is contained in:
parent
cd2789b15a
commit
ea8e5cb6f8
1 changed files with 5 additions and 0 deletions
|
@ -80,6 +80,11 @@ struct Land
|
||||||
* Frees memory allocated for land data
|
* Frees memory allocated for land data
|
||||||
*/
|
*/
|
||||||
void unloadData();
|
void unloadData();
|
||||||
|
|
||||||
|
private:
|
||||||
|
Land(const Land& land);
|
||||||
|
Land& operator=(const Land& land);
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue