src/types/resourcevector.h

changeset 1189
0509b2b5eaa6
parent 1186
eae8b3bce545
child 1190
2edf54a5e56a
--- 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);

mercurial