mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
Format all C++ and Java code via clang-format
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
@@ -1,13 +1,10 @@
|
||||
#include "coding/reader_streambuf.hpp"
|
||||
#include "coding/reader.hpp"
|
||||
#include "coding/file_writer.hpp"
|
||||
#include "coding/reader.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
ReaderStreamBuf::ReaderStreamBuf(std::unique_ptr<Reader> && p)
|
||||
: m_p(std::move(p)), m_pos(0), m_size(m_p->Size())
|
||||
{
|
||||
}
|
||||
ReaderStreamBuf::ReaderStreamBuf(std::unique_ptr<Reader> && p) : m_p(std::move(p)), m_pos(0), m_size(m_p->Size()) {}
|
||||
|
||||
// Define destructor in .cpp due to using unique_ptr with incomplete type.
|
||||
ReaderStreamBuf::~ReaderStreamBuf() = default;
|
||||
@@ -37,7 +34,6 @@ ReaderStreamBuf::int_type ReaderStreamBuf::underflow()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
std::streamsize WriterStreamBuf::xsputn(char_type const * s, std::streamsize n)
|
||||
{
|
||||
m_writer.Write(s, n);
|
||||
|
||||
Reference in New Issue
Block a user