Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2/internal
diff options
context:
space:
mode:
authorMartin Hořeňovský2026-01-06 20:26:03 +0100
committerMartin Hořeňovský2026-01-06 20:26:08 +0100
commitb59f4f352291a89c4a3fe1488eeccbddeea85625 (patch)
treed99c129bc13ca7c27b6d0e78c3d260e4a090274f /src/catch2/internal
parentcd4fc88e2a50b59b117a974e69366232243d4f56 (diff)
downloadcatch3-b59f4f352291a89c4a3fe1488eeccbddeea85625.tar.gz
Rename DEPRECATED -> CATCH_DEPRECATED
Closes #3058
Diffstat (limited to 'src/catch2/internal')
-rw-r--r--src/catch2/internal/catch_deprecation_macro.hpp4
-rw-r--r--src/catch2/internal/catch_message_info.hpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/catch2/internal/catch_deprecation_macro.hpp b/src/catch2/internal/catch_deprecation_macro.hpp
index 7834882b..7712e20d 100644
--- a/src/catch2/internal/catch_deprecation_macro.hpp
+++ b/src/catch2/internal/catch_deprecation_macro.hpp
@@ -11,9 +11,9 @@
#include <catch2/catch_user_config.hpp>
#if !defined( CATCH_CONFIG_NO_DEPRECATION_ANNOTATIONS )
-# define DEPRECATED( msg ) [[deprecated( msg )]]
+# define CATCH_DEPRECATED( msg ) [[deprecated( msg )]]
#else
-# define DEPRECATED( msg )
+# define CATCH_DEPRECATED( msg )
#endif
#endif // CATCH_DEPRECATION_MACRO_HPP_INCLUDED
diff --git a/src/catch2/internal/catch_message_info.hpp b/src/catch2/internal/catch_message_info.hpp
index 8443c18c..72f4516b 100644
--- a/src/catch2/internal/catch_message_info.hpp
+++ b/src/catch2/internal/catch_message_info.hpp
@@ -29,11 +29,11 @@ namespace Catch {
// The "ID" of the message, used to know when to remove it from reporter context.
unsigned int sequence;
- DEPRECATED( "Explicitly use the 'sequence' member instead" )
+ CATCH_DEPRECATED( "Explicitly use the 'sequence' member instead" )
bool operator == (MessageInfo const& other) const {
return sequence == other.sequence;
}
- DEPRECATED( "Explicitly use the 'sequence' member instead" )
+ CATCH_DEPRECATED( "Explicitly use the 'sequence' member instead" )
bool operator < (MessageInfo const& other) const {
return sequence < other.sequence;
}