diff --git a/tl_expected/include/tl_expected/expected.hpp b/tl_expected/include/tl_expected/expected.hpp index 670d791..8760770 100644 --- a/tl_expected/include/tl_expected/expected.hpp +++ b/tl_expected/include/tl_expected/expected.hpp @@ -13,14 +13,9 @@ // . /// -#ifdef _WIN32 +#if defined(_MSC_VER) || defined(__clang__) || defined(__GNUC__) #pragma message( \ - "tl_expected/expected.hpp is deprecated and will be removed by the ROS 2 Lyrical Luth release. \ - Use from libexpected-dev, or if the system header is not available.") // NOLINT -#else -#warning \ - "tl_expected/expected.hpp is deprecated and will be removed by the ROS 2 Lyrical Luth release. \ - Use from libexpected-dev, or if the system header is not available." // NOLINT + "tl_expected/expected.hpp is deprecated. Use from libexpected-dev, or if the system header is not available.") // NOLINT #endif #ifndef TL_EXPECTED_HPP