mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-22 09:53:03 +08:00
Call base vector::insert() explicitly.
This commit is contained in:
parent
4fc467a922
commit
b4495a6bb5
@ -666,7 +666,7 @@ void GenericVector<T>::set(const T& t, int index) {
|
||||
// at the specified index.
|
||||
template <typename T>
|
||||
void GenericVector<T>::insert(const T& t, int index) {
|
||||
insert(begin() + index, t);
|
||||
vector::insert(begin() + index, t);
|
||||
}
|
||||
|
||||
// Removes an element at the given index and
|
||||
|
Loading…
Reference in New Issue
Block a user