Workaround some GCC bug

This commit is contained in:
Jérôme Leclercq 2020-08-27 22:58:44 +02:00
parent 391037d9e3
commit 3fe70476bb
2 changed files with 7 additions and 0 deletions

View File

@ -23,6 +23,7 @@ namespace Nz
SpirvPrinter(SpirvPrinter&&) = default; SpirvPrinter(SpirvPrinter&&) = default;
~SpirvPrinter() = default; ~SpirvPrinter() = default;
std::string Print(const UInt32* codepoints, std::size_t count);
std::string Print(const UInt32* codepoints, std::size_t count, const Settings& settings = {}); std::string Print(const UInt32* codepoints, std::size_t count, const Settings& settings = {});
SpirvPrinter& operator=(const SpirvPrinter&) = default; SpirvPrinter& operator=(const SpirvPrinter&) = default;

View File

@ -11,6 +11,12 @@ namespace Nz
m_currentState(nullptr) m_currentState(nullptr)
{ {
} }
inline std::string SpirvPrinter::Print(const UInt32* codepoints, std::size_t count)
{
Settings settings;
return Print(codepoints, count, settings);
}
} }
#include <Nazara/Shader/DebugOff.hpp> #include <Nazara/Shader/DebugOff.hpp>