From d66471c82401b386f21a4d182266f6e2df552bee Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 16 Oct 2023 19:06:32 -0400 Subject: Fix GCC 13 build --- examples/pugl_vulkan_cpp_demo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/pugl_vulkan_cpp_demo.cpp') diff --git a/examples/pugl_vulkan_cpp_demo.cpp b/examples/pugl_vulkan_cpp_demo.cpp index 764954d..d0cc5a1 100644 --- a/examples/pugl_vulkan_cpp_demo.cpp +++ b/examples/pugl_vulkan_cpp_demo.cpp @@ -706,8 +706,8 @@ readFile(const char* const programPath, const std::string& filename) std::cerr << "Loading shader: " << path.get() << std::endl; - const std::unique_ptr file{fopen(path.get(), "rb"), - &fclose}; + const std::unique_ptr file{fopen(path.get(), "rb"), + &fclose}; if (!file) { std::cerr << "Failed to open file '" << filename << "'\n"; -- cgit v1.2.1