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

summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorPhil Nash2017-03-10 19:15:03 +0000
committerPhil Nash2017-03-10 19:15:03 +0000
commite4a25ad5ffd60f518d1f7d25642d079f631ff82e (patch)
tree028037f6b605d9064ec9b9ea576c584ed4d48a7b /include
parent5d6c744d3878046de029ee822056dc731cc0e5f1 (diff)
downloadcatch3-e4a25ad5ffd60f518d1f7d25642d079f631ff82e.tar.gz
Added CATCH_REGISTER_LISTENER without the INTERNAL_ prefix
Diffstat (limited to 'include')
-rw-r--r--include/internal/catch_reporter_registrars.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/internal/catch_reporter_registrars.hpp b/include/internal/catch_reporter_registrars.hpp
index 4d5557e1..1a47d192 100644
--- a/include/internal/catch_reporter_registrars.hpp
+++ b/include/internal/catch_reporter_registrars.hpp
@@ -92,7 +92,11 @@ namespace Catch {
#define INTERNAL_CATCH_REGISTER_REPORTER( name, reporterType ) \
namespace{ Catch::ReporterRegistrar<reporterType> catch_internal_RegistrarFor##reporterType( name ); }
+// Deprecated - use the form without INTERNAL_
#define INTERNAL_CATCH_REGISTER_LISTENER( listenerType ) \
namespace{ Catch::ListenerRegistrar<listenerType> catch_internal_RegistrarFor##listenerType; }
+#define CATCH_REGISTER_LISTENER( listenerType ) \
+ namespace{ Catch::ListenerRegistrar<listenerType> catch_internal_RegistrarFor##listenerType; }
+
#endif // TWOBLUECUBES_CATCH_REPORTER_REGISTRARS_HPP_INCLUDED