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

Added private assignment operator to fix VS2010 issue

- thanks to Kosta (#239)
Commit
5845ae94aad65cbbde26b87a49b81dba411e84a7
Author
Phil Nash ·
Parents
b15726beba79

Files · Download .tar.gz

Changes

 include/reporters/catch_reporter_bases.hpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/reporters/catch_reporter_bases.hpp b/include/reporters/catch_reporter_bases.hpp
index 21e70980..ee255406 100644
--- a/include/reporters/catch_reporter_bases.hpp
+++ b/include/reporters/catch_reporter_bases.hpp
@@ -99,6 +99,8 @@ namespace Catch {
                 return node->stats.sectionInfo.lineInfo == m_other.lineInfo;
             }
         private:
+            BySectionInfo& operator=( BySectionInfo const& other ); // = delete;
+
             SectionInfo const& m_other;
         };