util/ConstBuffer: remove cast operator ConstBuffer<void>
This was bugged, because it did not scale the "size".
This commit is contained in:
parent
96afa8bd2b
commit
d333de1980
@ -109,10 +109,6 @@ struct ConstBuffer {
|
||||
constexpr const_iterator cend() const {
|
||||
return data + size;
|
||||
}
|
||||
|
||||
constexpr operator ConstBuffer<void>() const {
|
||||
return { data, size };
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user