Skip to content

Commit ca9ed57

Browse files
committed
Make /util/nodiscard.h compile on OSX 10.12.6
1 parent ecb6efb commit ca9ed57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/nodiscard.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Author: Diffblue Ltd.
1111

1212
#if __has_cpp_attribute(nodiscard)
1313
# ifdef __clang__
14-
# pragma GCC diagnostic ignored "-Wc++17-extensions"
14+
# pragma GCC diagnostic ignored "-Wc++1z-extensions"
1515
# endif
1616
// NOLINTNEXTLINE(whitespace/braces)
1717
# define NODISCARD [[nodiscard]]

0 commit comments

Comments
 (0)