Skip to content

Commit

Permalink
Merge pull request #1449 from asuessenbach/static_assert
Browse files Browse the repository at this point in the history
Fix include guard of vulkan_static_assertions.hpp
  • Loading branch information
asuessenbach authored Nov 16, 2022
2 parents f461105 + 4124717 commit 1d250f5
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 1d250f5

Please sign in to comment.