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

@ -108,7 +108,7 @@ namespace Catch {
for( std::set<std::string>::const_iterator it = _tags.begin(), itEnd = _tags.end(); it != itEnd; ++it ) {
oss << "[" << *it << "]";
std::string lcaseTag = toLower( *it );
properties = (SpecialProperties)( properties | parseSpecialTag( lcaseTag ) );
properties = static_cast<SpecialProperties>( properties | parseSpecialTag( lcaseTag ) );
lcaseTags.insert( lcaseTag );
}
tagsAsString = oss.str();