diff --git a/tl_expected/include/tl_expected/expected.hpp b/tl_expected/include/tl_expected/expected.hpp index 8760770..88ab2a9 100644 --- a/tl_expected/include/tl_expected/expected.hpp +++ b/tl_expected/include/tl_expected/expected.hpp @@ -13,10 +13,12 @@ // . /// +#ifndef SILENCE_DEPRECATION_WARNINGS #if defined(_MSC_VER) || defined(__clang__) || defined(__GNUC__) #pragma message( \ "tl_expected/expected.hpp is deprecated. Use from libexpected-dev, or if the system header is not available.") // NOLINT #endif +#endif #ifndef TL_EXPECTED_HPP #define TL_EXPECTED_HPP