Sun, 05 Mar 2017 16:54:42 +0200
Deleted the copy constructor version of ResourceVector<T>::insert, like with append
src/types/resourcevector.h | file | annotate | diff | comparison | revisions |
--- a/src/types/resourcevector.h Sun Mar 05 16:50:37 2017 +0200 +++ b/src/types/resourcevector.h Sun Mar 05 16:54:42 2017 +0200 @@ -39,6 +39,7 @@ int indexOf(T* resource) const; template<typename TT = T, typename... Args> TT* insert(int position, Args&&... args); + void insert(int, T) = delete; bool isEmpty() const; void clear(); void removeAt(int position);