Revert "Minor header cleanup."

This reverts commit 4277b25a0b
This commit is contained in:
dsa-t 2022-12-08 05:04:41 +00:00
parent 2fc0cd68ed
commit f99bdb6078
1 changed files with 7 additions and 3 deletions

View File

@ -29,8 +29,8 @@
#define VECTOR2D_H_
#include <limits>
#include <ostream>
#include <string>
#include <iostream>
#include <sstream>
#include <type_traits>
#include <math/util.h>
@ -407,7 +407,11 @@ VECTOR2<T> VECTOR2<T>::Resize( T aNewLength ) const
template <class T>
const std::string VECTOR2<T>::Format() const
{
return std::string( "( xy " ) + std::to_string( x ) + " " + std::to_string( y ) + " )";
std::stringstream ss;
ss << "( xy " << x << " " << y << " )";
return ss.str();
}