From 22f16e88916725a74958f8da946c43ee0a16949a Mon Sep 17 00:00:00 2001 From: "MARINA\\jpmug" Date: Sun, 30 Jun 2024 12:21:18 -0400 Subject: [PATCH] fix compile error. --- efxc2Compiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/efxc2Compiler.cpp b/efxc2Compiler.cpp index 0a03a83..651e8b9 100644 --- a/efxc2Compiler.cpp +++ b/efxc2Compiler.cpp @@ -35,7 +35,7 @@ void efxc2Compiler::SetupDefines(efxc2Utils::M_COMPILER_DEFINES _defines, std::v void efxc2Compiler::print_defines(std::vector const& defines) { std::cout << "\t"; - (void)M_FOR_EACH(defines, print_D3D_SHADER_MACRO); + (void)M_FOR_EACH(defines.begin(), defines.end(), print_D3D_SHADER_MACRO); std::cout << ",\n"; }