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
1 changed files with 4 additions and 6 deletions

View File

@ -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;
}