Killed a couple more warnings (one for VS2010 and one for Clang)
This commit is contained in:
1 parent
3bdc97d8ad
commit
e21d0b29cc
2 files changed
+3
-1
No files matched your search
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user