Compiles
[iotcloud.git] / version2 / src / C / array.h
index e2e2a67f462c8659ff2272f98c4323c5acd01b33..996a9121887698359c2d0d024f0ab3f1055ebb07 100644 (file)
@@ -19,7 +19,7 @@ public:
        {
        }
 
-       Array(type *_array, uint _size) :
+       Array(const type *_array, uint _size) :
                array((type *) ourmalloc(sizeof(type) * _size)),
                size(_size) {
                memcpy(array, _array, _size * sizeof(type));