diff --git a/include/gsl/assert b/include/gsl/assert index 3420ecbf..a08424ca 100644 --- a/include/gsl/assert +++ b/include/gsl/assert @@ -51,7 +51,7 @@ // Visual Studio versions after 2022 (_MSC_VER > 1944) support the justification message. #define GSL_SUPPRESS(x) [[gsl::suppress(#x)]] #elif defined(_MSC_VER) && !defined(__INTEL_COMPILER) && !defined(__NVCC__) -#define GSL_SUPPRESS(x) [[gsl::suppress(#x)]] +#define GSL_SUPPRESS(x) [[gsl::suppress(x)]] #else #define GSL_SUPPRESS(x) #endif // defined(__clang__)