Skip to content
Snippets Groups Projects
Commit 803266eb authored by Markus Blatt's avatar Markus Blatt
Browse files

Added fucking const to key type for pedantic Macs!

[[Imported from SVN: r5301]]
parent 415d4d31
Branches
Tags
No related merge requests found
......@@ -31,7 +31,7 @@ namespace Dune {
typedef typename list_type::iterator iterator;
typedef typename std::less<key_type> cmp;
typedef std::map< key_type, iterator, cmp,
typename allocator::template rebind<std::pair<key_type, iterator> >::other > map_type;
typename allocator::template rebind<std::pair<const key_type, iterator> >::other > map_type;
};
template <typename _Key, typename _Tp,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment