diff --git a/include/anyany/anyany.hpp b/include/anyany/anyany.hpp index 845974b..e811380 100644 --- a/include/anyany/anyany.hpp +++ b/include/anyany/anyany.hpp @@ -32,7 +32,7 @@ #if __has_cpp_attribute(no_unique_address) #define ANYANY_NO_UNIQUE_ADDRESS [[no_unique_address]] #elif __has_cpp_attribute(msvc::no_unique_address) -#define ANYANY_NO_UNIQUE_ADDRESS msvc::no_unique_address +#define ANYANY_NO_UNIQUE_ADDRESS [[msvc::no_unique_address]] #else #define ANYANY_NO_UNIQUE_ADDRESS #endif