Include missing header type_traits to vulkan_enums.hpp (#2180)

This commit is contained in:
Andreas Süßenbach 2025-06-12 15:43:51 +02:00 committed by GitHub
parent 81b2f2f950
commit ae6f3c1184
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View File

@ -144,6 +144,8 @@ void VulkanHppGenerator::generateEnumsHppFile() const
// include-what-you-use: make sure, vulkan.hpp is used by code-completers
// IWYU pragma: private; include "vulkan.hpp"
#include <type_traits> // for std::underlying_type
namespace VULKAN_HPP_NAMESPACE
{
${Flags}

View File

@ -11,6 +11,8 @@
// include-what-you-use: make sure, vulkan.hpp is used by code-completers
// IWYU pragma: private; include "vulkan.hpp"
#include <type_traits> // for std::underlying_type
namespace VULKAN_HPP_NAMESPACE
{
template <typename FlagBitsType>