diff options
| author | Martin Hořeňovský | 2023-03-20 22:56:43 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2023-03-20 22:56:43 +0100 |
| commit | 2598116aa640b012d42900bb565a7f1bfae5152e (patch) | |
| tree | add02a7d415c46716c12983542f37edc6720cc51 /src/catch2/internal/catch_run_context.cpp | |
| parent | 173aa3f1f401ce1165ec9307d249dc506a976c3e (diff) | |
| download | catch3-2598116aa640b012d42900bb565a7f1bfae5152e.tar.gz | |
Mark various anonymous classes final
Diffstat (limited to 'src/catch2/internal/catch_run_context.cpp')
| -rw-r--r-- | src/catch2/internal/catch_run_context.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/catch2/internal/catch_run_context.cpp b/src/catch2/internal/catch_run_context.cpp index 8ffa7d47..11fcda45 100644 --- a/src/catch2/internal/catch_run_context.cpp +++ b/src/catch2/internal/catch_run_context.cpp @@ -27,7 +27,7 @@ namespace Catch { namespace Generators { namespace { - struct GeneratorTracker : TestCaseTracking::TrackerBase, + struct GeneratorTracker final : TestCaseTracking::TrackerBase, IGeneratorTracker { GeneratorBasePtr m_generator; @@ -36,7 +36,7 @@ namespace Catch { TrackerContext& ctx, ITracker* parent ): TrackerBase( CATCH_MOVE( nameAndLocation ), ctx, parent ) {} - ~GeneratorTracker() override; + ~GeneratorTracker() override = default; static GeneratorTracker* acquire( TrackerContext& ctx, @@ -161,7 +161,6 @@ namespace Catch { m_generator = CATCH_MOVE( generator ); } }; - GeneratorTracker::~GeneratorTracker() = default; } // namespace } |