Minor header cleanup.
This commit is contained in:
parent
33d76f63b0
commit
4277b25a0b
|
@ -29,8 +29,8 @@
|
||||||
#define VECTOR2D_H_
|
#define VECTOR2D_H_
|
||||||
|
|
||||||
#include <limits>
|
#include <limits>
|
||||||
#include <iostream>
|
#include <ostream>
|
||||||
#include <sstream>
|
#include <string>
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
|
||||||
#include <math/util.h>
|
#include <math/util.h>
|
||||||
|
@ -407,11 +407,7 @@ VECTOR2<T> VECTOR2<T>::Resize( T aNewLength ) const
|
||||||
template <class T>
|
template <class T>
|
||||||
const std::string VECTOR2<T>::Format() const
|
const std::string VECTOR2<T>::Format() const
|
||||||
{
|
{
|
||||||
std::stringstream ss;
|
return std::string( "( xy " ) + std::to_string( x ) + " " + std::to_string( y ) + " )";
|
||||||
|
|
||||||
ss << "( xy " << x << " " << y << " )";
|
|
||||||
|
|
||||||
return ss.str();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue