Include <memory> in vulkan_raii.hpp to have std::unique_ptr available. (#1762)

This commit is contained in:
Andreas Süßenbach 2024-01-03 11:49:10 +01:00 committed by GitHub
parent 52666b03f5
commit d2f13e2f7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 5 deletions

View File

@ -586,6 +586,7 @@ void VulkanHppGenerator::generateRAIIHppFile() const
#ifndef VULKAN_RAII_HPP #ifndef VULKAN_RAII_HPP
#define VULKAN_RAII_HPP #define VULKAN_RAII_HPP
#include <memory> // std::unique_ptr
#include <utility> // std::exchange, std::forward #include <utility> // std::exchange, std::forward
#include <vulkan/${api}.hpp> #include <vulkan/${api}.hpp>

View File

@ -8,6 +8,7 @@
#ifndef VULKAN_RAII_HPP #ifndef VULKAN_RAII_HPP
#define VULKAN_RAII_HPP #define VULKAN_RAII_HPP
#include <memory> // std::unique_ptr
#include <utility> // std::exchange, std::forward #include <utility> // std::exchange, std::forward
#include <vulkan/vulkan.hpp> #include <vulkan/vulkan.hpp>

View File

@ -8,6 +8,7 @@
#ifndef VULKAN_RAII_HPP #ifndef VULKAN_RAII_HPP
#define VULKAN_RAII_HPP #define VULKAN_RAII_HPP
#include <memory> // std::unique_ptr
#include <utility> // std::exchange, std::forward #include <utility> // std::exchange, std::forward
#include <vulkan/vulkansc.hpp> #include <vulkan/vulkansc.hpp>