src/list.h

changeset 134
eca2fc0acaa2
parent 133
dbbdb870c835
child 135
8b9132fea327
--- a/src/list.h	Sat Jul 12 23:04:46 2014 +0300
+++ b/src/list.h	Sun Jul 20 17:25:36 2014 +0300
@@ -45,7 +45,7 @@
 
 	List();
 	List (const std::deque<T>& a);
-	List (std::initializer_list<T>&& a);
+	List (std::initializer_list<T>and a);
 
 	inline T&						append (const T& value);
 	inline Iterator					begin();
@@ -101,7 +101,7 @@
 	_deque (other) {}
 
 template<typename T>
-List<T>::List (std::initializer_list<T>&& a) :
+List<T>::List (std::initializer_list<T>and a) :
 	_deque (a) {}
 
 template<typename T>

mercurial