Skip to content

Commit

Permalink
Remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
horenmar committed May 26, 2019
1 parent 97602b2 commit a5a2d08
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions include/internal/catch_stringref.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit a5a2d08

Please sign in to comment.