From 61a3028788186c36708234b03a8eca8d5e009515 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 23 Jun 2015 13:19:52 +0200 Subject: util/AllocatedString: remove bogus code from operator= --- src/util/AllocatedString.hxx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/util/AllocatedString.hxx b/src/util/AllocatedString.hxx index 0a446e4fd..dbc0abfc0 100644 --- a/src/util/AllocatedString.hxx +++ b/src/util/AllocatedString.hxx @@ -77,7 +77,6 @@ public: } AllocatedString &operator=(AllocatedString &&src) { - *(StringPointer *)this = std::move(src); std::swap(value, src.value); return *this; } -- cgit v1.2.3