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

@@ -141,7 +141,7 @@ namespace Nz
m_handle = sf_open_virtual(&callbacks, SFM_READ, &infos, &stream);
if (!m_handle)
{
NazaraError("Failed to open sound: " + String(sf_strerror(m_handle)));
NazaraError("Failed to open sound: " + std::string(sf_strerror(m_handle)));
return false;
}
@@ -315,7 +315,7 @@ namespace Nz
SNDFILE* file = sf_open_virtual(&callbacks, SFM_READ, &info, &stream);
if (!file)
{
NazaraError("Failed to load sound file: " + String(sf_strerror(file)));
NazaraError("Failed to load sound file: " + std::string(sf_strerror(file)));
return nullptr;
}