line_logger fixes

This commit is contained in:
gabime
2014-03-31 01:06:46 +03:00
parent afb4f1d8fa
commit 4c367a4bb5
4 changed files with 24 additions and 20 deletions

View File

@@ -21,12 +21,12 @@ public:
stack_devicebuf& operator=(const stack_devicebuf&) = delete;
stack_devicebuf& operator=(stack_devicebuf&&) = delete;
bufpair_t buf()
bufpair_t buf() const
{
return _stackbuf.get();
}
std::size_t size()
std::size_t size() const
{
return _stackbuf.size();
}
@@ -67,12 +67,12 @@ public:
stack_oss(stack_oss&& other) = delete;
stack_oss& operator=(const stack_oss& other) = delete;
bufpair_t buf()
bufpair_t buf() const
{
return _dev.buf();
}
std::size_t size()
std::size_t size() const
{
return _dev.size();
}