]> git.tdb.fi Git - libs/gl.git/blobdiff - source/render/instancearray.h
Add correct copy and move semantics to most classes
[libs/gl.git] / source / render / instancearray.h
index d793ce2ed229cd8159ac9fc2504c9c1d0472a854..e6f8690c68cd5b2000d25f9bb7d770f063fcc1f4 100644 (file)
@@ -2,6 +2,7 @@
 #define MSP_GL_INSTANCEARRAY_H_
 
 #include <vector>
+#include <msp/core/noncopyable.h>
 #include "programdata.h"
 #include "renderable.h"
 #include "vertexarray.h"
@@ -24,7 +25,7 @@ elements of the array corresponds to a row of the transform matrix.
 If the Mesh or Technique of the Object is changed during the lifetime of the
 InstanceArray, behaviour is undefined.
 */
-class InstanceArray: public Renderable
+class InstanceArray: public Renderable, public NonCopyable
 {
 public:
        template<typename T>