diff --git a/Include/AuroraMacros.hpp b/Include/AuroraMacros.hpp index f2ddcb2b..10ce3df5 100644 --- a/Include/AuroraMacros.hpp +++ b/Include/AuroraMacros.hpp @@ -47,7 +47,7 @@ name ## Shared_t name ## Shared(T... args) \ return name ## Shared_t(name ## New(args...), name ## Release); \ } -#define AU_SHARED_API(name, type, ...) AU_SHARED_API_EX(, name, type, AU_VA_ALL_OPT) +#define AU_SHARED_API(name, type, ...) AU_SHARED_API_EX(, name, type, #__VA_ARGS__) #if defined(AURORA_COMPILER_MSVC) #define AU_NOINLINE __declspec(noinline)