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

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2/internal/catch_stringref.hpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2020-05-31 22:30:41 +0200
committerMartin Hořeňovský2020-05-31 22:30:41 +0200
commit317145514fad8266edbce1145391524b4e948f32 (patch)
treeded467f5bb8fd770094c7a48ad7ade2f162f893a /src/catch2/internal/catch_stringref.hpp
parentf2b95080815c873a64b76b8052472aa7a4fd6e9f (diff)
downloadcatch3-317145514fad8266edbce1145391524b4e948f32.tar.gz
Add op+(StringRef, StringRef) -> std::string
Diffstat (limited to 'src/catch2/internal/catch_stringref.hpp')
-rw-r--r--src/catch2/internal/catch_stringref.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/catch2/internal/catch_stringref.hpp b/src/catch2/internal/catch_stringref.hpp
index 1e07b6ad..773d6d33 100644
--- a/src/catch2/internal/catch_stringref.hpp
+++ b/src/catch2/internal/catch_stringref.hpp
@@ -101,6 +101,7 @@ namespace Catch {
friend std::string& operator += (std::string& lhs, StringRef const& sr);
friend std::ostream& operator << (std::ostream& os, StringRef const& sr);
+ friend std::string operator+(StringRef lhs, StringRef rhs);
};