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

summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorEisuke Kawashima2024-01-20 09:39:07 +0900
committerChris Thrasher2025-06-15 13:26:38 -0600
commit416b0752112e0e5f9a8568e3e18baace15de37a7 (patch)
tree7e0b2309a8c4faf6b6b2b42a6490b6bb80212a39 /src
parent334827eb53bcbcaff08264baa92c2d51ff742817 (diff)
downloadcatch3-416b0752112e0e5f9a8568e3e18baace15de37a7.tar.gz
fix: make deleted member function public
Diffstat (limited to 'src')
-rw-r--r--src/catch2/internal/catch_noncopyable.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/catch2/internal/catch_noncopyable.hpp b/src/catch2/internal/catch_noncopyable.hpp
index eb0823e8..f5746588 100644
--- a/src/catch2/internal/catch_noncopyable.hpp
+++ b/src/catch2/internal/catch_noncopyable.hpp
@@ -13,6 +13,7 @@ namespace Catch {
//! Deriving classes become noncopyable and nonmovable
class NonCopyable {
+ public:
NonCopyable( NonCopyable const& ) = delete;
NonCopyable( NonCopyable&& ) = delete;
NonCopyable& operator=( NonCopyable const& ) = delete;