Some more fixes, hopefully GCC will stop shitting itself now

This commit is contained in:
Jérôme Leclercq
2020-08-27 23:22:13 +02:00
parent 3fe70476bb
commit 0ff0425045
3 changed files with 6 additions and 6 deletions

View File

@@ -126,7 +126,7 @@ namespace Nz
template<typename T>
void SinCos(std::enable_if_t<std::is_same<T, long double>::value, long double> x, long double* s, long double* c)
{
::sincosl(x, sin, cos);
::sincosl(x, s, c);
}
#else
// Naive implementation, hopefully optimized by the compiler

View File

@@ -23,8 +23,8 @@ namespace Nz
SpirvPrinter(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 = {});
inline std::string Print(const UInt32* codepoints, std::size_t count);
std::string Print(const UInt32* codepoints, std::size_t count, const Settings& settings);
SpirvPrinter& operator=(const SpirvPrinter&) = default;
SpirvPrinter& operator=(SpirvPrinter&&) = default;