Remove Nz::String and Nz::StringStream
This commit is contained in:
@@ -90,7 +90,7 @@ namespace Nz
|
||||
{
|
||||
PFN_vkVoidFunction func = m_instance.GetDeviceProcAddr(m_device, name);
|
||||
if (!func)
|
||||
NazaraError("Failed to get " + String(name) + " address");
|
||||
NazaraError("Failed to get " + std::string(name) + " address");
|
||||
|
||||
return func;
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace Nz
|
||||
typeMask <<= 1;
|
||||
}
|
||||
|
||||
NazaraError("Failed to find a memory type suitable for typeBits: " + String::Number(typeBits) + " and properties: 0x" + String::Number(properties, 16));
|
||||
NazaraError("Failed to find a memory type suitable for typeBits: " + NumberToString(typeBits) + " and properties: 0x" + NumberToString(properties, 16));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -79,7 +79,7 @@ namespace Nz
|
||||
|
||||
if (!m_images[i].view.Create(*m_device, imageViewCreateInfo))
|
||||
{
|
||||
NazaraError("Failed to create image view for image #" + String::Number(i));
|
||||
NazaraError("Failed to create image view for image #" + NumberToString(i));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user