Color: Removed unnecessary methods

This commit is contained in:
Paul Beckingham 2016-01-09 22:13:49 -05:00
parent 123973b634
commit a00e326d01
2 changed files with 0 additions and 16 deletions

View file

@ -282,20 +282,6 @@ Color::Color (color_id fg, color_id bg, bool underline, bool bold, bool bright)
} }
} }
////////////////////////////////////////////////////////////////////////////////
Color::~Color ()
{
}
////////////////////////////////////////////////////////////////////////////////
Color& Color::operator= (const Color& other)
{
if (this != &other)
_value = other._value;
return *this;
}
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
Color::operator std::string () const Color::operator std::string () const
{ {

View file

@ -50,8 +50,6 @@ public:
Color (const std::string&); // "red on bright black" Color (const std::string&); // "red on bright black"
Color (color_id); // fg. Color (color_id); // fg.
Color (color_id, color_id, bool, bool, bool); // fg, bg, underline, bold, bright Color (color_id, color_id, bool, bool, bool); // fg, bg, underline, bold, bright
~Color ();
Color& operator= (const Color&);
operator std::string () const; operator std::string () const;
operator int () const; operator int () const;