Commit d333de19 authored by Max Kellermann's avatar Max Kellermann

util/ConstBuffer: remove cast operator ConstBuffer<void>

This was bugged, because it did not scale the "size".
parent 96afa8bd
...@@ -109,10 +109,6 @@ struct ConstBuffer { ...@@ -109,10 +109,6 @@ struct ConstBuffer {
constexpr const_iterator cend() const { constexpr const_iterator cend() const {
return data + size; return data + size;
} }
constexpr operator ConstBuffer<void>() const {
return { data, size };
}
}; };
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment