From 0f111cf51b00c4e884b7e53b4fd7ff6e38d8af5e Mon Sep 17 00:00:00 2001 From: untodesu Date: Fri, 26 Dec 2025 23:17:56 +0500 Subject: Add include guards and header comments to sources --- src/core/io/buffer.hh | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/core/io/buffer.hh') diff --git a/src/core/io/buffer.hh b/src/core/io/buffer.hh index 450a86f..100a933 100644 --- a/src/core/io/buffer.hh +++ b/src/core/io/buffer.hh @@ -1,3 +1,12 @@ +// SPDX-License-Identifier: BSD-2-Clause +// Copyright (c) 2025 Kirill Dmitrievich +// File: buffer.hh +// Description: QDataStream-esque buffer + +#ifndef CORE_IO_BUFFER_HH +#define CORE_IO_BUFFER_HH +#pragma once + class ReadBuffer final { public: ReadBuffer(void) = default; @@ -80,3 +89,5 @@ WriteBuffer& WriteBuffer::operator<<(const T value) write(value); return *this; } + +#endif -- cgit