Array2D now has private copy constructor and assignment operator to prevent accidental copying.
This commit is contained in:
parent
0ff0234ce1
commit
ad73caf368
@ -73,6 +73,10 @@ namespace PolyVox
|
||||
|
||||
private:
|
||||
|
||||
// These are private to avoid accidental copying.
|
||||
Array2D<ElementType>(const Array2D<ElementType>& rhs);
|
||||
Array2D<ElementType>& operator=(const Array2D<ElementType>& rhs);
|
||||
|
||||
uint32_t m_uWidth;
|
||||
uint32_t m_uHeight;
|
||||
ElementType* m_pData;
|
||||
|
Loading…
x
Reference in New Issue
Block a user