add missing IO namespace

This commit is contained in:
Sébastien Loriot 2021-05-04 14:58:55 +02:00
parent f5e5ebe39b
commit cfc0fee1c4
1 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ protected:
return Color_value(a) < Color_value(b); return Color_value(a) < Color_value(b);
} }
static int Color_value ( Color const& c ) static int Color_value ( IO::Color const& c )
{ {
return ( int(c.r()) << 16 ) + ( int(c.g()) << 8 ) + ( int(c.b()) ) ; return ( int(c.r()) << 16 ) + ( int(c.g()) << 8 ) + ( int(c.b()) ) ;
} }
@ -103,7 +103,7 @@ public:
mWriter (out) mWriter (out)
,mDefaultDxfColor (255) ,mDefaultDxfColor (255)
,mDxfColor (255) ,mDxfColor (255)
,mCgalColor (white()) ,mCgalColor (IO::white())
,mLayer ("0") ,mLayer ("0")
{ {
setup_initial_color_table(); setup_initial_color_table();