Remove commented out code

This commit is contained in:
Martin Hořeňovský 2019-05-26 21:19:55 +02:00
parent 97602b248b
commit a5a2d08fbb
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -71,12 +71,10 @@ namespace Catch {
} }
auto operator = ( StringRef const &other ) noexcept -> StringRef& { auto operator = ( StringRef const &other ) noexcept -> StringRef& {
// if( this != &other ) { delete[] m_data;
delete[] m_data; m_data = nullptr;
m_data = nullptr; m_start = other.m_start;
m_start = other.m_start; m_size = other.m_size;
m_size = other.m_size;
// }
return *this; return *this;
} }