aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/winapi/resource.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/resource.hpp
parentminor fixes (diff)
downloadwinapi-common-6a335fcca28693aa9039ad4e8a13ff71e9d2f9cd.tar.gz
winapi-common-6a335fcca28693aa9039ad4e8a13ff71e9d2f9cd.zip
unify my .clang-format files
Diffstat (limited to '')
-rw-r--r--include/winapi/resource.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/winapi/resource.hpp b/include/winapi/resource.hpp
index 8b6e41b..276dedf 100644
--- a/include/winapi/resource.hpp
+++ b/include/winapi/resource.hpp
@@ -20,7 +20,9 @@ struct Resource {
Resource(const void* data, std::size_t nb) : data{data}, nb{nb} {}
/** Extract resource data into a Buffer instance. */
- Buffer copy() const { return {data, nb}; }
+ Buffer copy() const {
+ return {data, nb};
+ }
const void* data = nullptr;
std::size_t nb = 0;