diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2016-09-06 19:57:36 +1000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2017-06-22 10:48:38 +1000 |
commit | 90f169881f744e4719122888a720c8c03f3bb346 (patch) | |
tree | 607b0bb4ea6f92e4e88c8a44d446403b012243a4 /libs/canvas | |
parent | 6d35b3c4e4ed1bdded94da49b9421ca893a9e6ea (diff) |
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.
Diffstat (limited to 'libs/canvas')
-rw-r--r-- | libs/canvas/canvas/colors.h | 1 | ||||
-rw-r--r-- | libs/canvas/colors.cc | 9 |
2 files changed, 0 insertions, 10 deletions
diff --git a/libs/canvas/canvas/colors.h b/libs/canvas/canvas/colors.h index b2f6c1e2ff..f48e2347a3 100644 --- a/libs/canvas/canvas/colors.h +++ b/libs/canvas/canvas/colors.h @@ -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; diff --git a/libs/canvas/colors.cc b/libs/canvas/colors.cc index a246aa3cf4..c288d4e383 100644 --- a/libs/canvas/colors.cc +++ b/libs/canvas/colors.cc @@ -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 { |