From 137662b2b86a2c61bb9ef5a79df445977645fd85 Mon Sep 17 00:00:00 2001 From: Angad <66992519+ThirdEyeSqueegee@users.noreply.github.com> Date: Sun, 22 Oct 2023 20:35:25 -0700 Subject: [PATCH] fix: add inline specifier to SFSEPluginVersion macro --- CommonLibSF/include/SFSE/Interfaces.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CommonLibSF/include/SFSE/Interfaces.h b/CommonLibSF/include/SFSE/Interfaces.h index a361158d..c7db8052 100644 --- a/CommonLibSF/include/SFSE/Interfaces.h +++ b/CommonLibSF/include/SFSE/Interfaces.h @@ -212,4 +212,4 @@ namespace SFSE #define SFSEPluginPreload(...) extern "C" [[maybe_unused]] __declspec(dllexport) bool SFSEPlugin_Preload(__VA_ARGS__) #define SFSEPluginLoad(...) extern "C" [[maybe_unused]] __declspec(dllexport) bool SFSEPlugin_Load(__VA_ARGS__) -#define SFSEPluginVersion extern "C" [[maybe_unused]] __declspec(dllexport) constinit SFSE::PluginVersionData SFSEPlugin_Version +#define SFSEPluginVersion extern "C" [[maybe_unused]] __declspec(dllexport) inline constinit SFSE::PluginVersionData SFSEPlugin_Version