mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 07:16:10 +01:00
Remove commented out code
This commit is contained in:
parent
97602b248b
commit
a5a2d08fbb
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user