diff options
| author | Martin Hořeňovský | 2017-07-25 17:16:28 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2017-07-25 17:16:28 +0200 |
| commit | 1e59ccee41f269440310979a0b6ab7e4dbb1e453 (patch) | |
| tree | 3392bc674c6ce58ad60fd53fa8fff30a3c2efe8a /include/internal/catch_stringref.cpp | |
| parent | b6f62af7d1a96482ca5df3c476e30f8fcf35df5a (diff) | |
| download | catch3-1e59ccee41f269440310979a0b6ab7e4dbb1e453.tar.gz | |
Addressed Resharper-C++ warnings
See #958
Diffstat (limited to 'include/internal/catch_stringref.cpp')
| -rw-r--r-- | include/internal/catch_stringref.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/internal/catch_stringref.cpp b/include/internal/catch_stringref.cpp index 3c4e292d..7cf75a75 100644 --- a/include/internal/catch_stringref.cpp +++ b/include/internal/catch_stringref.cpp @@ -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 |