diff --git a/core/pool_vector.h b/core/pool_vector.h index e2b03a7b6..eeac1d5e1 100644 --- a/core/pool_vector.h +++ b/core/pool_vector.h @@ -392,7 +392,7 @@ public: } } - PoolVector subarray(int p_from, int p_to) { + PoolVector subarray(int p_from, int p_to) const { if (p_from < 0) { p_from = size() + p_from; }