Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorPhil Nash2014-05-19 19:04:38 +0100
committerPhil Nash2014-05-19 19:04:38 +0100
commite21d0b29cc190d6d314764f3f4c484db79eece0e (patch)
treecedef11435fb931092bc90e97e443fd51eb7eba3 /include
parent3bdc97d8ad742028bb40232bd073bab09e6a1cd0 (diff)
downloadcatch3-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.hpp3
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;
};