Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include/internal/catch_stringref.cpp
diff options
context:
space:
mode:
authorPhil Nash2017-11-17 23:32:04 +0000
committerGitHub2017-11-17 23:32:04 +0000
commit505d2f897748ece76f2b7364591b6b3b118e0293 (patch)
tree02ab96789fb9e1c678f7c616ec64e5273858581c /include/internal/catch_stringref.cpp
parentb0c379f62122c95e7494fd6349b3804d58906793 (diff)
parentf18366150e85f057e0e06ed33c7ad181c7e57a29 (diff)
downloadcatch3-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.cpp4
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 );
}