From 4277b25a0be07f0a8375c72a247b5ec60db01e84 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 8 Dec 2022 07:23:21 +0300 Subject: [PATCH] Minor header cleanup. --- libs/kimath/include/math/vector2d.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/libs/kimath/include/math/vector2d.h b/libs/kimath/include/math/vector2d.h index d3349b31d8..14c2e22f66 100644 --- a/libs/kimath/include/math/vector2d.h +++ b/libs/kimath/include/math/vector2d.h @@ -29,8 +29,8 @@ #define VECTOR2D_H_ #include -#include -#include +#include +#include #include #include @@ -407,11 +407,7 @@ VECTOR2 VECTOR2::Resize( T aNewLength ) const template const std::string VECTOR2::Format() const { - std::stringstream ss; - - ss << "( xy " << x << " " << y << " )"; - - return ss.str(); + return std::string( "( xy " ) + std::to_string( x ) + " " + std::to_string( y ) + " )"; }