diff --git a/include/boost/graph/properties.hpp b/include/boost/graph/properties.hpp index 6929c1c2..aac72ec7 100644 --- a/include/boost/graph/properties.hpp +++ b/include/boost/graph/properties.hpp @@ -34,10 +34,7 @@ namespace boost { enum default_color_type { white_color, gray_color, black_color }; template - struct color_traits { }; - - template <> - struct color_traits { + struct color_traits { static default_color_type white() { return white_color; } static default_color_type gray() { return gray_color; } static default_color_type black() { return black_color; }