Merge pull request #153 from glenfe/fallthrough

Add BOOST_FALLTHROUGH for gcc
This commit is contained in:
jzmaddock authored and GitHub committed 2017-06-12 11:53:03 +01:00
commit 4c7b536b3a
1 file changed
+4
+4
View File
@@ -299,6 +299,10 @@
# define BOOST_NO_CXX17_FOLD_EXPRESSIONS
#endif
#if __GNUC__ >= 7
# define BOOST_FALLTHROUGH __attribute__((fallthrough))
#endif
//
// Unused attribute:
#if __GNUC__ >= 4