diff options
Diffstat (limited to 'src/graphics/core/color.h')
-rw-r--r-- | src/graphics/core/color.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/graphics/core/color.h b/src/graphics/core/color.h index 3546611..87a50f4 100644 --- a/src/graphics/core/color.h +++ b/src/graphics/core/color.h @@ -139,10 +139,10 @@ struct ColorHSV //! Returns a string "(h, s, v)" inline std::string ToString() const { - std::stringstream s; - s.precision(3); - s << "(" << h << ", " << s << ", " << v << ")"; - return s.str(); + std::stringstream str; + str.precision(3); + str << "(" << h << ", " << s << ", " << v << ")"; + return str.str(); } }; |