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
Killed a couple more warnings (one for VS2010 and one for Clang)
- Commit
e21d0b29cc190d6d314764f3f4c484db79eece0e- Author
- Phil Nash ·
- Parents
3bdc97d8ad74
Changes
include/reporters/catch_reporter_bases.hpp | 3 ++- projects/XCode/CatchSelfTest/CatchSelfTest/catch_text.cpp | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/reporters/catch_reporter_bases.hpp b/include/reporters/catch_reporter_bases.hpp index f41bf6ac..ddbc63b7 100644 --- a/include/reporters/catch_reporter_bases.hpp +++ b/include/reporters/catch_reporter_bases.hpp @@ -95,11 +95,12 @@ namespace Catch { struct BySectionInfo { BySectionInfo( SectionInfo const& other ) : m_other( other ) {} + BySectionInfo( BySectionInfo const& other ) : m_other( other.m_other ) {} bool operator() ( Ptr<SectionNode> const& node ) const { return node->stats.sectionInfo.lineInfo == m_other.lineInfo; } private: - + void operator=( BySectionInfo const& ); SectionInfo const& m_other; }; diff --git a/projects/XCode/CatchSelfTest/CatchSelfTest/catch_text.cpp b/projects/XCode/CatchSelfTest/CatchSelfTest/catch_text.cpp index 502a0d05..a08e67b3 100644 --- a/projects/XCode/CatchSelfTest/CatchSelfTest/catch_text.cpp +++ b/projects/XCode/CatchSelfTest/CatchSelfTest/catch_text.cpp @@ -1,2 +1,3 @@ // This file is only here to verify (to the extent possible) the self sufficiency of the header +#include "catch_suppress_warnings.h" #include "catch_text.h"