1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-01-19 03:57:14 +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> template <typename T>
void GetArray(T* array, int size) void GetArray(T* array, int size) const
{ {
HSQOBJECT value = GetObject(); HSQOBJECT value = GetObject();
sq_pushobject(vm, value); sq_pushobject(vm, value);