diff options
| author | Martin Hořeňovský | 2019-05-26 21:19:55 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2019-05-26 21:19:55 +0200 |
| commit | a5a2d08fbb3f68cf3f0bfbaa11e8b7a2d4386d61 (patch) | |
| tree | a484acba15c8ddb63e0460a3a6995282b942dbef /include | |
| parent | 97602b248b4380eac28de4dd8961c3f1acf42471 (diff) | |
| download | catch3-a5a2d08fbb3f68cf3f0bfbaa11e8b7a2d4386d61.tar.gz | |
Remove commented out code
Diffstat (limited to 'include')
| -rw-r--r-- | include/internal/catch_stringref.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/include/internal/catch_stringref.h b/include/internal/catch_stringref.h index 70f68476..64f595b3 100644 --- a/include/internal/catch_stringref.h +++ b/include/internal/catch_stringref.h @@ -71,12 +71,10 @@ namespace Catch { } auto operator = ( StringRef const &other ) noexcept -> StringRef& { -// if( this != &other ) { - delete[] m_data; - m_data = nullptr; - m_start = other.m_start; - m_size = other.m_size; - // } + delete[] m_data; + m_data = nullptr; + m_start = other.m_start; + m_size = other.m_size; return *this; } |