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:
parent
5b19e311e3
commit
22291b895d
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user