Added const qualifier to PoolVector's subarray().

This commit is contained in:
Relintai 2022-03-23 15:05:33 +01:00
parent c84e647b86
commit 53066a4a82

View File

@ -392,7 +392,7 @@ public:
}
}
PoolVector<T> subarray(int p_from, int p_to) {
PoolVector<T> subarray(int p_from, int p_to) const {
if (p_from < 0) {
p_from = size() + p_from;
}