util/ConstBuffer: remove cast operator ConstBuffer<void>

This was bugged, because it did not scale the "size".
This commit is contained in:
Max Kellermann 2014-03-01 07:37:20 +01:00
parent 96afa8bd2b
commit d333de1980

View File

@ -109,10 +109,6 @@ struct ConstBuffer {
constexpr const_iterator cend() const {
return data + size;
}
constexpr operator ConstBuffer<void>() const {
return { data, size };
}
};
#endif