diff --git a/library/PolyVoxCore/include/PolyVoxCore/Impl/Array2D.h b/library/PolyVoxCore/include/PolyVoxCore/Impl/Array2D.h index b6713ae9..062e61e0 100644 --- a/library/PolyVoxCore/include/PolyVoxCore/Impl/Array2D.h +++ b/library/PolyVoxCore/include/PolyVoxCore/Impl/Array2D.h @@ -73,6 +73,10 @@ namespace PolyVox private: + // These are private to avoid accidental copying. + Array2D(const Array2D& rhs); + Array2D& operator=(const Array2D& rhs); + uint32_t m_uWidth; uint32_t m_uHeight; ElementType* m_pData;