Addressed Resharper-C++ warnings

See #958
This commit is contained in:
Martin Hořeňovský 2017-07-25 17:16:28 +02:00
parent b6f62af7d1
commit 1e59ccee41
25 changed files with 97 additions and 93 deletions

View file

@ -55,7 +55,7 @@ namespace Catch {
{
size_type rawSize = rawChars == nullptr ? 0 : static_cast<size_type>( std::strlen( rawChars ) );
if( rawSize < size )
size = rawSize;
m_size = rawSize;
}
StringRef::StringRef( String const& other ) noexcept