Fix compilation

This commit is contained in:
Jérôme Leclercq
2022-03-15 09:12:55 +01:00
parent 79a5716110
commit 0f55779a8a
2 changed files with 8 additions and 27 deletions

View File

@@ -9,12 +9,6 @@
#include <catch2/catch.hpp>
#include <cctype>
template<typename T, typename U>
std::unique_ptr<T> static_unique_pointer_cast(std::unique_ptr<U>&& ptr)
{
return std::unique_ptr<T>(Nz::SafeCast<T*>(ptr.release()));
}
void PropagateConstantAndExpect(std::string_view sourceCode, std::string_view expectedOptimizedResult)
{
Nz::ShaderAst::ModulePtr shaderModule;