Skip to content

Commit cb1992e

Browse files
authored
Merge pull request diffblue#4693 from danielsn/fix-pragma-in-nodiscard-h
Make /util/nodiscard.h compile on OSX 10.12.6
2 parents 2ceb3e3 + ca9ed57 commit cb1992e

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)