freebsd-ports/devel/pire/files/patch-pire__stub__stl.h
Dmitry Marakasov fb447b5e23 - Fix build with libc++ 3.8
- Pet portlint
- Clean up pkg-descr and update WWW

PR:		208715
Submitted by:	dim
2016-04-13 14:08:57 +00:00

11 lines
488 B
C++

--- pire/stub/stl.h.orig 2013-11-08 17:46:23 UTC
+++ pire/stub/stl.h
@@ -97,7 +97,7 @@ namespace Pire {
ylist(Arg1 arg1, Arg2 arg2, Arg3 arg3): std::list<T, A>(arg1, arg2, arg3) {}
};
- template< class K, class V, class C = std::less<K>, class A = std::allocator< std::pair<K, V> > >
+ template< class K, class V, class C = std::less<K>, class A = std::allocator< std::pair<const K, V> > >
class ymap: public std::map<K, V, C, A> {
public:
ymap(): std::map<K, V, C, A>() {}