diff --git a/Hash_map/include/CGAL/Unique_hash_map.h b/Hash_map/include/CGAL/Unique_hash_map.h index 82d749be65c..8a7ab5ad799 100644 --- a/Hash_map/include/CGAL/Unique_hash_map.h +++ b/Hash_map/include/CGAL/Unique_hash_map.h @@ -129,10 +129,13 @@ namespace boost { struct lvalue_property_map_tag; - template - class associative_property_map > + template + class associative_property_map > { - typedef CGAL::Unique_hash_map C; + typedef CGAL::Unique_hash_map C; + public: typedef KeyType key_type; typedef ValueType value_type; @@ -146,16 +149,14 @@ namespace boost { friend const value_type& - get(const associative_property_map >& uhm, - const key_type& key) + get(const associative_property_map& uhm, const key_type& key) { return uhm[key]; } friend void - put(associative_property_map >& uhm, - const key_type& key, const value_type& val) + put(associative_property_map& uhm, const key_type& key, const value_type& val) { uhm[key] = val; } @@ -164,18 +165,18 @@ namespace boost { C* m_c; }; - - template - associative_property_map > - make_assoc_property_map(CGAL::Unique_hash_map & c) + template + associative_property_map > + make_assoc_property_map(CGAL::Unique_hash_map& c) { - return associative_property_map >(c); + return associative_property_map >(c); } - } - - #endif // CGAL_UNIQUE_HASH_MAP_H // EOF