Remove some warnings in tests

This commit is contained in:
Krystian Stasiowski committed 2020-02-27 15:51:09 -05:00
1 parent 4a494ed9b5
commit 54c5d7cef4
4 files changed
+81 -130

No files matched your search

+3 -1
View File
@@ -62,11 +62,13 @@
// Can we use [[nodiscard]]?
// KRYSTIAN TODO: these checks need to be improved
#if defined(__has_attribute) && __has_attribute(nodiscard)
#if defined(__has_attribute)
#if __has_attribute(nodiscard)
#define BOOST_STATIC_STRING_NODISCARD [[nodiscard]]
#else
#define BOOST_STATIC_STRING_NODISCARD
#endif
#endif
// _MSVC_LANG isn't avaliable until after VS2015
#if defined(_MSC_VER) && _MSC_VER < 1910L