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

summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorPhil Nash2012-10-31 11:21:51 -0700
committerPhil Nash2012-10-31 11:21:51 -0700
commitb18d719f9d8a6960379832b13c47baaeffe8183d (patch)
treead16a42b303b3dfa10cfdaceea428350a1a9e6fb /include
parent105726f8e4363b0a3bd1bae1979be7a7244e7a89 (diff)
parentb7f705482837eb24fc500e445762482fc4ebea46 (diff)
downloadcatch3-b18d719f9d8a6960379832b13c47baaeffe8183d.tar.gz
Merge pull request #133 from vadz/msvc-warn-fix
Fix harmless but annoying MSVC warnings.
Diffstat (limited to 'include')
-rw-r--r--include/internal/catch_tags.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/internal/catch_tags.hpp b/include/internal/catch_tags.hpp
index d6060022..c30d6e71 100644
--- a/include/internal/catch_tags.hpp
+++ b/include/internal/catch_tags.hpp
@@ -74,6 +74,10 @@ namespace Catch {
m_remainder += c;
}
+ // Suppress assignment operator to avoid warnings from MSVC saying that
+ // it can't be implicitly synthesized.
+ TagExtracter& operator=(const TagExtracter&);
+
std::set<std::string>& m_tags;
std::string m_remainder;
};
@@ -177,6 +181,10 @@ namespace Catch {
m_exp.m_tagSets.push_back( m_currentTagSet );
}
+ // Suppress assignment operator to avoid warnings from MSVC saying that
+ // it can't be implicitly synthesized.
+ TagExpressionParser& operator=(const TagExpressionParser&);
+
bool m_isNegated;
TagSet m_currentTagSet;
TagExpression& m_exp;