mirror of
https://github.com/Relintai/pmlpp.git
synced 2024-12-21 14:56:47 +01:00
Fixed MLPPVector::remove's index parameter's type.
This commit is contained in:
parent
701749b2e5
commit
197b59b752
@ -59,7 +59,7 @@ void MLPPVector::append_mlpp_vector(const Ref<MLPPVector> &p_other) {
|
||||
}
|
||||
}
|
||||
|
||||
void MLPPVector::remove(real_t p_index) {
|
||||
void MLPPVector::remove(int p_index) {
|
||||
ERR_FAIL_INDEX(p_index, _size);
|
||||
|
||||
--_size;
|
||||
|
@ -49,7 +49,7 @@ public:
|
||||
void push_back(real_t p_elem);
|
||||
void append_mlpp_vector(const Ref<MLPPVector> &p_other);
|
||||
|
||||
void remove(real_t p_index);
|
||||
void remove(int p_index);
|
||||
|
||||
// Removes the item copying the last value into the position of the one to
|
||||
// remove. It's generally faster than `remove`.
|
||||
|
Loading…
Reference in New Issue
Block a user