fix: include <utility> in vulkan_raii.hpp for std::exchange

This commit is contained in:
Stephan Seitz 2022-08-19 19:54:33 +02:00
parent 33dad92cec
commit 8afaf0e2d0
2 changed files with 2 additions and 0 deletions

View File

@ -405,6 +405,7 @@ void VulkanHppGenerator::generateVulkanRAIIHppFile() const
# define VULKAN_RAII_HPP # define VULKAN_RAII_HPP
#include <memory> #include <memory>
#include <utility> // std::exchange, std::forward
#include <vulkan/vulkan.hpp> #include <vulkan/vulkan.hpp>
#if !defined( VULKAN_HPP_RAII_NAMESPACE ) #if !defined( VULKAN_HPP_RAII_NAMESPACE )

View File

@ -9,6 +9,7 @@
#define VULKAN_RAII_HPP #define VULKAN_RAII_HPP
#include <memory> #include <memory>
#include <utility> // std::exchange, std::forward
#include <vulkan/vulkan.hpp> #include <vulkan/vulkan.hpp>
#if !defined( VULKAN_HPP_RAII_NAMESPACE ) #if !defined( VULKAN_HPP_RAII_NAMESPACE )