From 48ea4ba2e2a6f6fb13fce9d02ddbdca602c2e203 Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Wed, 21 Jan 2004 19:50:49 +0000 Subject: [PATCH] merged fixes [SVN r21868] --- include/boost/property_map.hpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/boost/property_map.hpp b/include/boost/property_map.hpp index 74acca5..004bf97 100644 --- a/include/boost/property_map.hpp +++ b/include/boost/property_map.hpp @@ -171,7 +171,9 @@ namespace boost { }; template const typename readable_property_map_archetype::reference& - get(const readable_property_map_archetype&, const K&) { + get(const readable_property_map_archetype&, + const typename readable_property_map_archetype::key_type&) + { typedef typename readable_property_map_archetype::reference R; return static_object::get(); } @@ -199,7 +201,9 @@ namespace boost { typedef writable_property_map_tag category; }; template - void put(const writable_property_map_archetype&, const K&, const V&) { } + void put(const writable_property_map_archetype&, + const typename writable_property_map_archetype::key_type&, + const typename writable_property_map_archetype::value_type&) { } template