]> git.tdb.fi Git - libs/gl.git/blobdiff - source/vertexarray.h
Remove the non-const operator[] from VertexArray to make it clearer when modification...
[libs/gl.git] / source / vertexarray.h
index 079c2234cc5a598ac5abdb21925aa55c00ca8123..3b67527864a014908b3b2349d3616a455ec39699 100644 (file)
@@ -74,7 +74,6 @@ public:
        void         apply() const;
        float        *append();
        float *modify(unsigned);
-       float *operator[](unsigned i) { return modify(i); }
        const float  *operator[](unsigned i) const { return &data[0]+i*stride; }
 
 private: