1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 00:37:15 +01:00

Fixed const correctness in Sqrat array.

This commit is contained in:
Sandu Liviu Catalin 2016-03-18 12:55:32 +02:00
parent afc72a0162
commit 46466930fb

View File

@ -256,7 +256,7 @@ public:
///
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
template <typename T>
void GetArray(T* array, int size)
void GetArray(T* array, int size) const
{
HSQOBJECT value = GetObject();
sq_pushobject(vm, value);