View | Details | Raw Unified | Return to bug 208715
Collapse All | Expand All

(-)devel/pire/files/patch-pire__stub__stl.h (+11 lines)
Line 0 Link Here
1
--- pire/stub/stl.h.orig	2013-11-08 18:46:23.000000000 +0100
2
+++ pire/stub/stl.h	2016-04-11 15:24:07.891419000 +0200
3
@@ -97,7 +97,7 @@ namespace Pire {
4
 		ylist(Arg1 arg1, Arg2 arg2, Arg3 arg3): std::list<T, A>(arg1, arg2, arg3) {}
5
 	};
6
 
7
-	template< class K, class V, class C = std::less<K>, class A = std::allocator< std::pair<K, V> > >
8
+	template< class K, class V, class C = std::less<K>, class A = std::allocator< std::pair<const K, V> > >
9
 	class ymap: public std::map<K, V, C, A> {
10
 	public:
11
 		ymap(): std::map<K, V, C, A>() {}

Return to bug 208715