diff options
Diffstat (limited to 'libadhocutil/buffer.cpp')
-rw-r--r-- | libadhocutil/buffer.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/libadhocutil/buffer.cpp b/libadhocutil/buffer.cpp index cb071a2..00c2b45 100644 --- a/libadhocutil/buffer.cpp +++ b/libadhocutil/buffer.cpp @@ -4,8 +4,6 @@ namespace AdHoc { -Buffer::FragmentBase::~FragmentBase() = default; - // // CString Fragment // @@ -107,8 +105,6 @@ Buffer::StringFragment::operator[](size_t x) const // Buffer :) // -Buffer::Buffer() = default; - Buffer::Buffer(const char * src, CStringHandling h) { append(src, h); @@ -124,8 +120,6 @@ Buffer::Buffer(const std::string & str) append(str); } -Buffer::~Buffer() = default; - Buffer & Buffer::append(const char * str, CStringHandling h) { @@ -167,11 +161,8 @@ Buffer & Buffer::appendf(const char * fmt, ...) { va_list v; - // NOLINTNEXTLINE(hicpp-no-array-decay) va_start(v, fmt); - // NOLINTNEXTLINE(hicpp-no-array-decay) vappendf(fmt, v); - // NOLINTNEXTLINE(hicpp-no-array-decay) va_end(v); return *this; } @@ -291,9 +282,6 @@ Buffer::operator=(const std::string & str) return *this; } -Buffer & -Buffer::operator=(const Buffer & buf) = default; - Buffer::operator bool() const { return !content.empty(); |