diff options
| author | Phil Nash | 2014-05-19 19:04:38 +0100 |
|---|---|---|
| committer | Phil Nash | 2014-05-19 19:04:38 +0100 |
| commit | e21d0b29cc190d6d314764f3f4c484db79eece0e (patch) | |
| tree | cedef11435fb931092bc90e97e443fd51eb7eba3 /include | |
| parent | 3bdc97d8ad742028bb40232bd073bab09e6a1cd0 (diff) | |
| download | catch3-e21d0b29cc190d6d314764f3f4c484db79eece0e.tar.gz | |
Killed a couple more warnings (one for VS2010 and one for Clang)
Diffstat (limited to 'include')
| -rw-r--r-- | include/reporters/catch_reporter_bases.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
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; }; |