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

summaryrefslogtreecommitdiffhomepage
path: root/include/internal/catch_stringref.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2017-07-25 17:16:28 +0200
committerMartin Hořeňovský2017-07-25 17:16:28 +0200
commit1e59ccee41f269440310979a0b6ab7e4dbb1e453 (patch)
tree3392bc674c6ce58ad60fd53fa8fff30a3c2efe8a /include/internal/catch_stringref.cpp
parentb6f62af7d1a96482ca5df3c476e30f8fcf35df5a (diff)
downloadcatch3-1e59ccee41f269440310979a0b6ab7e4dbb1e453.tar.gz
Addressed Resharper-C++ warnings
See #958
Diffstat (limited to 'include/internal/catch_stringref.cpp')
-rw-r--r--include/internal/catch_stringref.cpp2
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