aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-06-23 13:19:52 +0200
committerMax Kellermann <max@duempel.org>2015-06-23 13:20:11 +0200
commit61a3028788186c36708234b03a8eca8d5e009515 (patch)
tree545343b056e5b4a8bc9a86be8a85c1e0cb75561e /src
parent11d048b8e3e88282121a64664aff6a687bb8b56e (diff)
downloadmpd-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.hxx1
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;
}