From 2b07f01a158667ea4617d76a338cb3a928def423 Mon Sep 17 00:00:00 2001 From: Charles Giessen Date: Mon, 30 Oct 2023 11:44:28 -0600 Subject: [PATCH] Mark QUEUE_INDEX_MAX_VALUE as inline Fixes issues putting VkBootstrap.h into modules. --- src/VkBootstrap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VkBootstrap.h b/src/VkBootstrap.h index 5ecf778..eb48912 100644 --- a/src/VkBootstrap.h +++ b/src/VkBootstrap.h @@ -692,7 +692,7 @@ enum class QueueType { present, graphics, compute, transfer }; namespace detail { // Sentinel value, used in implementation only -const uint32_t QUEUE_INDEX_MAX_VALUE = 65536; +inline const uint32_t QUEUE_INDEX_MAX_VALUE = 65536; } // namespace detail // ---- Device ---- //