Skip to content

Commit 4fb5912

Browse files
beinhaerterWerner Henze
andauthored
Revert unintended change to GSL_SUPPRESS (#1226)
PR #1213 changed this line. According to https://github.com/microsoft/GSL/pull/1213/files#r2586073058 the change was unintended. This PR reverts the change to the previous implementation. Co-authored-by: Werner Henze <[email protected]>
1 parent 543d0dd commit 4fb5912

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/gsl/assert

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
// Visual Studio versions after 2022 (_MSC_VER > 1944) support the justification message.
5252
#define GSL_SUPPRESS(x) [[gsl::suppress(#x)]]
5353
#elif defined(_MSC_VER) && !defined(__INTEL_COMPILER) && !defined(__NVCC__)
54-
#define GSL_SUPPRESS(x) [[gsl::suppress(#x)]]
54+
#define GSL_SUPPRESS(x) [[gsl::suppress(x)]]
5555
#else
5656
#define GSL_SUPPRESS(x)
5757
#endif // defined(__clang__)

0 commit comments

Comments
 (0)