Skip to content

Commit

Permalink
Fix include guard of vulkan_static_assertions.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
asuessenbach committed Nov 16, 2022
1 parent f461105 commit 4124717
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions VulkanHppGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -417,8 +417,8 @@ void VulkanHppGenerator::generateVulkanStaticAssertionsHppFile() const
std::cout << "VulkanHppGenerator: Generating " << static_assertions_hpp << " ..." << std::endl;

std::string const vulkanHandlesHppTemplate = R"(${licenseHeader}
#ifndef VULKAN_STRUCTS_HPP
# define VULKAN_STRUCTS_HPP
#ifndef VULKAN_STATIC_ASSERTIONS_HPP
# define VULKAN_STATIC_ASSERTIONS_HPP

#include <vulkan/vulkan.hpp>

Expand Down
4 changes: 2 additions & 2 deletions vulkan/vulkan_static_assertions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

// This header is generated from the Khronos Vulkan XML API Registry.

#ifndef VULKAN_STRUCTS_HPP
#define VULKAN_STRUCTS_HPP
#ifndef VULKAN_STATIC_ASSERTIONS_HPP
#define VULKAN_STATIC_ASSERTIONS_HPP

#include <vulkan/vulkan.hpp>

Expand Down

0 comments on commit 4124717

Please sign in to comment.