From 04eed3e472c93ca6e8aee828e170e2a51741a8c4 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 15 Nov 2017 05:02:38 -0800 Subject: [PATCH] Remove redundant string concat operator --- include/AL/alure2.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/AL/alure2.h b/include/AL/alure2.h index 773fdf3..6a4dea5 100644 --- a/include/AL/alure2.h +++ b/include/AL/alure2.h @@ -293,9 +293,6 @@ using StringView = BasicStringView; // Inline operators to concat String and C-style strings with StringViews. template -inline BasicString operator+(const BasicString &lhs, BasicStringView rhs) -{ return BasicString(lhs).append(rhs.data(), rhs.size()); } -template inline BasicString operator+(BasicString lhs, BasicStringView rhs) { return std::move(lhs.append(rhs.data(), rhs.size())); } template -- 2.11.4.GIT