From 9407def0836394ce7586594d184c92d74f7e92d0 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 22 Apr 2009 10:46:12 +0000 Subject: [PATCH] Changed parameter for T* to const T*. --- include/osg/Array | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/osg/Array b/include/osg/Array index 623cb96e6..6f64e8b86 100644 --- a/include/osg/Array +++ b/include/osg/Array @@ -185,7 +185,7 @@ class TemplateArray : public Array, public MixinVector Array(ARRAYTYPE,DataSize,DataType), MixinVector(no) {} - TemplateArray(unsigned int no,T* ptr) : + TemplateArray(unsigned int no,const T* ptr) : Array(ARRAYTYPE,DataSize,DataType), MixinVector(ptr,ptr+no) {}