# HG changeset patch # User Teemu Piippo # Date 1488725682 -7200 # Node ID 0509b2b5eaa6caeb5f57758541a76b9150e13414 # Parent 872c4a3f4151b5beff07c6f1d6ba68d9b8c09072 Deleted the copy constructor version of ResourceVector::insert, like with append diff -r 872c4a3f4151 -r 0509b2b5eaa6 src/types/resourcevector.h --- 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 TT* insert(int position, Args&&... args); + void insert(int, T) = delete; bool isEmpty() const; void clear(); void removeAt(int position);