mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-11-22 00:48:09 +01:00
Added const qualifier to PoolVector's subarray().
This commit is contained in:
parent
c84e647b86
commit
53066a4a82
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user