aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/winapi/buffer.hpp
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-12 17:49:43 +0200
committerEgor Tensin <egor@tensin.name>2026-06-12 22:39:06 +0200
commit6a335fcca28693aa9039ad4e8a13ff71e9d2f9cd (patch)
treeda2c0a81932306c52d192425743e5c9efe4ae88a /include/winapi/buffer.hpp
parentminor fixes (diff)
downloadwinapi-common-6a335fcca28693aa9039ad4e8a13ff71e9d2f9cd.tar.gz
winapi-common-6a335fcca28693aa9039ad4e8a13ff71e9d2f9cd.zip
unify my .clang-format files
Diffstat (limited to 'include/winapi/buffer.hpp')
-rw-r--r--include/winapi/buffer.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/winapi/buffer.hpp b/include/winapi/buffer.hpp
index 1009ebb..17b7e9c 100644
--- a/include/winapi/buffer.hpp
+++ b/include/winapi/buffer.hpp
@@ -41,7 +41,9 @@ public:
}
/** Construct a buffer from a memory region. */
- Buffer(const void* src, std::size_t nb) { set(src, nb); }
+ Buffer(const void* src, std::size_t nb) {
+ set(src, nb);
+ }
/** Replace the buffer's contents with the data from a string view. */
template <typename CharT>