From 205d3176a751fbc72fcfecd161e6579737edfaeb Mon Sep 17 00:00:00 2001 From: Jeremiah Willcock Date: Mon, 8 Mar 2010 19:43:09 +0000 Subject: [PATCH] Changed to use property_traits in preparation for SFINAE-enabled property_traits [SVN r60365] --- include/boost/graph/one_bit_color_map.hpp | 4 ++-- include/boost/graph/two_bit_color_map.hpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/boost/graph/one_bit_color_map.hpp b/include/boost/graph/one_bit_color_map.hpp index 5a56e2e6..95a9604f 100644 --- a/include/boost/graph/one_bit_color_map.hpp +++ b/include/boost/graph/one_bit_color_map.hpp @@ -61,7 +61,7 @@ struct one_bit_color_map template inline one_bit_color_type get(const one_bit_color_map& pm, - typename one_bit_color_map::key_type key) + typename property_traits::key_type key) { BOOST_STATIC_CONSTANT(int, bits_per_char = one_bit_color_map::bits_per_char); typename property_traits::value_type i = get(pm.index, key); @@ -72,7 +72,7 @@ get(const one_bit_color_map& pm, template inline void put(const one_bit_color_map& pm, - typename one_bit_color_map::key_type key, + typename property_traits::key_type key, one_bit_color_type value) { BOOST_STATIC_CONSTANT(int, bits_per_char = one_bit_color_map::bits_per_char); diff --git a/include/boost/graph/two_bit_color_map.hpp b/include/boost/graph/two_bit_color_map.hpp index 0487b878..9a3872fd 100644 --- a/include/boost/graph/two_bit_color_map.hpp +++ b/include/boost/graph/two_bit_color_map.hpp @@ -64,7 +64,7 @@ struct two_bit_color_map template inline two_bit_color_type get(const two_bit_color_map& pm, - typename two_bit_color_map::key_type key) + typename property_traits::key_type key) { BOOST_STATIC_CONSTANT(int, elements_per_char = two_bit_color_map::elements_per_char); typename property_traits::value_type i = get(pm.index, key); @@ -77,7 +77,7 @@ get(const two_bit_color_map& pm, template inline void put(const two_bit_color_map& pm, - typename two_bit_color_map::key_type key, + typename property_traits::key_type key, two_bit_color_type value) { BOOST_STATIC_CONSTANT(int, elements_per_char = two_bit_color_map::elements_per_char);