mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Include <memory> in vulkan_raii.hpp to have std::unique_ptr available. (#1762)
This commit is contained in:
parent
52666b03f5
commit
d2f13e2f7f
@ -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>
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user