From 8afaf0e2d012507f781d6ede0e5dccad30ec76b4 Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Fri, 19 Aug 2022 19:54:33 +0200 Subject: [PATCH] fix: include in vulkan_raii.hpp for std::exchange --- VulkanHppGenerator.cpp | 1 + vulkan/vulkan_raii.hpp | 1 + 2 files changed, 2 insertions(+) diff --git a/VulkanHppGenerator.cpp b/VulkanHppGenerator.cpp index 29d4418..256a930 100644 --- a/VulkanHppGenerator.cpp +++ b/VulkanHppGenerator.cpp @@ -405,6 +405,7 @@ void VulkanHppGenerator::generateVulkanRAIIHppFile() const # define VULKAN_RAII_HPP #include +#include // std::exchange, std::forward #include #if !defined( VULKAN_HPP_RAII_NAMESPACE ) diff --git a/vulkan/vulkan_raii.hpp b/vulkan/vulkan_raii.hpp index fb15e28..271bdf9 100644 --- a/vulkan/vulkan_raii.hpp +++ b/vulkan/vulkan_raii.hpp @@ -9,6 +9,7 @@ #define VULKAN_RAII_HPP #include +#include // std::exchange, std::forward #include #if !defined( VULKAN_HPP_RAII_NAMESPACE )