diff options
Diffstat (limited to 'libadhocutil/buffer.cpp')
-rw-r--r-- | libadhocutil/buffer.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libadhocutil/buffer.cpp b/libadhocutil/buffer.cpp index ba0774d..2ddca50 100644 --- a/libadhocutil/buffer.cpp +++ b/libadhocutil/buffer.cpp @@ -311,6 +311,12 @@ Buffer::operator!() const return content.empty(); } +bool +Buffer::empty() const +{ + return content.empty(); +} + std::ostream & std::operator<<(std::ostream & os, const Buffer & b) { |