From bc942e42da690746846b1240251138b952868ccb Mon Sep 17 00:00:00 2001 From: asuessenbach Date: Thu, 7 Oct 2021 10:22:19 +0200 Subject: [PATCH] Add 'inline' to static getDispatchLoaderStatic() --- VulkanHppGenerator.cpp | 2 +- vulkan/vulkan.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VulkanHppGenerator.cpp b/VulkanHppGenerator.cpp index 0dec918..f12f2ab 100644 --- a/VulkanHppGenerator.cpp +++ b/VulkanHppGenerator.cpp @@ -16653,7 +16653,7 @@ int main( int argc, char ** argv ) } extern VULKAN_HPP_STORAGE_API DispatchLoaderDynamic defaultDispatchLoaderDynamic; # else - static ::VULKAN_HPP_NAMESPACE::DispatchLoaderStatic & getDispatchLoaderStatic() + static inline ::VULKAN_HPP_NAMESPACE::DispatchLoaderStatic & getDispatchLoaderStatic() { static ::VULKAN_HPP_NAMESPACE::DispatchLoaderStatic dls; return dls; diff --git a/vulkan/vulkan.hpp b/vulkan/vulkan.hpp index bb1c225..9da4736 100644 --- a/vulkan/vulkan.hpp +++ b/vulkan/vulkan.hpp @@ -5704,7 +5704,7 @@ namespace VULKAN_HPP_NAMESPACE } extern VULKAN_HPP_STORAGE_API DispatchLoaderDynamic defaultDispatchLoaderDynamic; # else - static ::VULKAN_HPP_NAMESPACE::DispatchLoaderStatic & getDispatchLoaderStatic() + static inline ::VULKAN_HPP_NAMESPACE::DispatchLoaderStatic & getDispatchLoaderStatic() { static ::VULKAN_HPP_NAMESPACE::DispatchLoaderStatic dls; return dls;