Removed C-style casts

This commit is contained in:
Phil Nash 2014-07-09 07:35:34 +01:00
parent 08e5296720
commit a31f05fe83
5 changed files with 8 additions and 8 deletions

View file

@ -41,7 +41,7 @@ namespace Catch {
}
if( endsWith( m_name, "*" ) ) {
m_name = m_name.substr( 0, m_name.size()-1 );
m_wildcard = (WildcardPosition)( m_wildcard | WildcardAtEnd );
m_wildcard = static_cast<WildcardPosition>( m_wildcard | WildcardAtEnd );
}
}
virtual ~NamePattern();