mirror of
https://github.com/matrix-construct/construct
synced 2025-01-13 08:23:56 +01:00
ircd:Ⓜ️:buffer: Remove cruft/unused from interface.
This commit is contained in:
parent
12f28c8f9f
commit
28c4baf2b2
1 changed files with 0 additions and 9 deletions
|
@ -82,7 +82,6 @@ namespace ircd::buffer
|
|||
|
||||
// Single buffer observer utils
|
||||
template<class it> bool null(const buffer<it> &buffer);
|
||||
template<class it> bool full(const buffer<it> &buffer);
|
||||
template<class it> bool empty(const buffer<it> &buffer);
|
||||
template<class it> bool operator!(const buffer<it> &buffer);
|
||||
template<class it> size_t size(const buffer<it> &buffer);
|
||||
|
@ -401,14 +400,6 @@ ircd::buffer::empty(const buffer<it> &buffer)
|
|||
return null(buffer) || std::distance(get<0>(buffer), get<1>(buffer)) == 0;
|
||||
}
|
||||
|
||||
template<class it>
|
||||
inline bool
|
||||
__attribute__((always_inline))
|
||||
ircd::buffer::full(const buffer<it> &buffer)
|
||||
{
|
||||
return std::distance(get<0>(buffer), get<1>(buffer)) == 0;
|
||||
}
|
||||
|
||||
template<class it>
|
||||
inline bool
|
||||
__attribute__((always_inline))
|
||||
|
|
Loading…
Reference in a new issue