diff options
author | Max Kellermann <max@duempel.org> | 2015-06-23 13:19:52 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-06-23 13:20:11 +0200 |
commit | 61a3028788186c36708234b03a8eca8d5e009515 (patch) | |
tree | 545343b056e5b4a8bc9a86be8a85c1e0cb75561e /src | |
parent | 11d048b8e3e88282121a64664aff6a687bb8b56e (diff) | |
download | mpd-61a3028788186c36708234b03a8eca8d5e009515.tar.gz mpd-61a3028788186c36708234b03a8eca8d5e009515.tar.xz mpd-61a3028788186c36708234b03a8eca8d5e009515.zip |
util/AllocatedString: remove bogus code from operator=
Diffstat (limited to 'src')
-rw-r--r-- | src/util/AllocatedString.hxx | 1 |
1 files changed, 0 insertions, 1 deletions
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<T> *)this = std::move(src); std::swap(value, src.value); return *this; } |