Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Default StreamingReporterBase::Node destructor

Commit
1cef51b69b1fc23ffe403a961cc93c0394b058e4
Author
Martin Hořeňovský ·
Parents
79c1bf93019e

Files · Download .tar.gz

Changes

 src/catch2/reporters/catch_reporter_cumulative_base.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/catch2/reporters/catch_reporter_cumulative_base.hpp b/src/catch2/reporters/catch_reporter_cumulative_base.hpp
index dc50a98a..0304f089 100644
--- a/src/catch2/reporters/catch_reporter_cumulative_base.hpp
+++ b/src/catch2/reporters/catch_reporter_cumulative_base.hpp
@@ -22,7 +22,7 @@ namespace Catch {
         template<typename T, typename ChildNodeT>
         struct Node {
             explicit Node( T const& _value ) : value( _value ) {}
-            virtual ~Node() {}
+            virtual ~Node() = default;
 
             using ChildNodes = std::vector<std::shared_ptr<ChildNodeT>>;
             T value;