Remove Nz::String and Nz::StringStream

This commit is contained in:
Jérôme Leclercq
2020-09-25 19:31:01 +02:00
parent d665af1f9d
commit 2b6a463a45
212 changed files with 1877 additions and 8721 deletions

View File

@@ -4,9 +4,9 @@
#include <NazaraSDK/Entity.hpp>
#include <Nazara/Core/Error.hpp>
#include <Nazara/Core/StringStream.hpp>
#include <algorithm>
#include <cassert>
#include <sstream>
#include <type_traits>
namespace Ndk
@@ -245,10 +245,12 @@ namespace Ndk
* \return A string representation of the object: "Entity(GetId())"
*/
inline Nz::String Entity::ToString() const
inline std::string Entity::ToString() const
{
Nz::StringStream ss;
return ss << "Entity(" << GetId() << ')';
std::ostringstream ss;
ss << "Entity(" << GetId() << ')';
return ss.str();
}
/*!