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

summaryrefslogtreecommitdiffhomepage
path: root/tests/SelfTest/UsageTests/Misc.tests.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2025-07-15 14:42:18 +0200
committerMartin Hořeňovský2025-07-15 15:23:32 +0200
commitf7968e96975ed30231d5f5614a159e1baa7ba664 (patch)
treefdf36b97fe8a590edbcdcfc213a76e0cc22f8e5a /tests/SelfTest/UsageTests/Misc.tests.cpp
parent3ebc346bcb53635ac955e7c58de1095191415bb0 (diff)
downloadcatch3-f7968e96975ed30231d5f5614a159e1baa7ba664.tar.gz
Constify various autoregistry globals to avoid clang-tidy complaints
Closes #2582
Diffstat (limited to 'tests/SelfTest/UsageTests/Misc.tests.cpp')
-rw-r--r--tests/SelfTest/UsageTests/Misc.tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/SelfTest/UsageTests/Misc.tests.cpp b/tests/SelfTest/UsageTests/Misc.tests.cpp
index 464a4b1d..e43f2d84 100644
--- a/tests/SelfTest/UsageTests/Misc.tests.cpp
+++ b/tests/SelfTest/UsageTests/Misc.tests.cpp
@@ -56,7 +56,7 @@ namespace {
CATCH_INTERNAL_START_WARNINGS_SUPPRESSION
CATCH_INTERNAL_SUPPRESS_GLOBALS_WARNINGS
- static AutoTestReg autoTestReg;
+ static const AutoTestReg autoTestReg;
CATCH_INTERNAL_STOP_WARNINGS_SUPPRESSION
template<typename T>