2
0
mirror of https://github.com/boostorg/graph.git synced 2026-01-30 07:52:10 +00:00

changed color traits default to use enums

[SVN r9427]
This commit is contained in:
Jeremy Siek
2001-03-04 18:07:05 +00:00
parent 3e82ea3625
commit ae1d55dfee

View File

@@ -34,10 +34,7 @@ namespace boost {
enum default_color_type { white_color, gray_color, black_color };
template <class ColorValue>
struct color_traits { };
template <>
struct color_traits<default_color_type> {
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; }