diff options
| author | Phil Nash | 2017-11-17 23:32:04 +0000 |
|---|---|---|
| committer | GitHub | 2017-11-17 23:32:04 +0000 |
| commit | 505d2f897748ece76f2b7364591b6b3b118e0293 (patch) | |
| tree | 02ab96789fb9e1c678f7c616ec64e5273858581c /include/internal/catch_stringref.cpp | |
| parent | b0c379f62122c95e7494fd6349b3804d58906793 (diff) | |
| parent | f18366150e85f057e0e06ed33c7ad181c7e57a29 (diff) | |
| download | catch3-505d2f897748ece76f2b7364591b6b3b118e0293.tar.gz | |
Merge pull request #1107 from coombez/contrib
performance improvements
Diffstat (limited to 'include/internal/catch_stringref.cpp')
| -rw-r--r-- | include/internal/catch_stringref.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/internal/catch_stringref.cpp b/include/internal/catch_stringref.cpp index 5a15bbf6..49d9629f 100644 --- a/include/internal/catch_stringref.cpp +++ b/include/internal/catch_stringref.cpp @@ -17,10 +17,6 @@ namespace Catch { - auto StringRef::operator = ( StringRef other ) noexcept -> StringRef& { - swap( other ); - return *this; - } StringRef::operator std::string() const { return std::string( m_start, m_size ); } |