aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-03-01 07:37:20 +0100
committerMax Kellermann <max@duempel.org>2014-03-01 07:37:20 +0100
commitd333de19802158a24d8bca35c87a711955c9aab3 (patch)
tree52f75a0d82b9618261f5ff7280ad75cc7df401da /src
parent96afa8bd2ba44d6669949db5fce4fee5f826b753 (diff)
downloadmpd-d333de19802158a24d8bca35c87a711955c9aab3.tar.gz
mpd-d333de19802158a24d8bca35c87a711955c9aab3.tar.xz
mpd-d333de19802158a24d8bca35c87a711955c9aab3.zip
util/ConstBuffer: remove cast operator ConstBuffer<void>
This was bugged, because it did not scale the "size".
Diffstat (limited to 'src')
-rw-r--r--src/util/ConstBuffer.hxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/util/ConstBuffer.hxx b/src/util/ConstBuffer.hxx
index bd3c405e5..35cffecc2 100644
--- a/src/util/ConstBuffer.hxx
+++ b/src/util/ConstBuffer.hxx
@@ -109,10 +109,6 @@ struct ConstBuffer {
constexpr const_iterator cend() const {
return data + size;
}
-
- constexpr operator ConstBuffer<void>() const {
- return { data, size };
- }
};
#endif