Remove unused ArdourCanvas::HSV constructor

Using stringstream for this is not locale independant. If this constructor is
needed at a later stage it should be reimplemented.
This commit is contained in:
Tim Mayberry 2016-09-06 19:57:36 +10:00
parent 5b19e311e3
commit 22291b895d
2 changed files with 0 additions and 10 deletions

View File

@ -77,7 +77,6 @@ struct LIBCANVAS_API HSV
HSV ();
HSV (double h, double s, double v, double a = 1.0);
HSV (Color);
HSV (const std::string&);
double h;
double s;

View File

@ -246,15 +246,6 @@ HSV::HSV (Color c)
color_to_hsva (c, h, s, v, a);
}
HSV::HSV (const std::string& str)
{
stringstream ss (str);
ss >> h;
ss >> s;
ss >> v;
ss >> a;
}
string
HSV::to_string () const
{