From ae1d55dfeece7cf84311c0a99376675ca31cfcc0 Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Sun, 4 Mar 2001 18:07:05 +0000 Subject: [PATCH] changed color traits default to use enums [SVN r9427] --- include/boost/graph/properties.hpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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; }