From 6a335fcca28693aa9039ad4e8a13ff71e9d2f9cd Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 12 Jun 2026 17:49:43 +0200 Subject: unify my .clang-format files --- include/winapi/sid.hpp | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'include/winapi/sid.hpp') diff --git a/include/winapi/sid.hpp b/include/winapi/sid.hpp index af4251b..008d250 100644 --- a/include/winapi/sid.hpp +++ b/include/winapi/sid.hpp @@ -26,14 +26,24 @@ public: explicit Sid(const Buffer& buffer) : m_buffer{buffer} {} - explicit operator SID&() { return get_impl(); } - explicit operator const SID&() const { return get_impl(); } + explicit operator SID&() { + return get_impl(); + } + + explicit operator const SID&() const { + return get_impl(); + } std::string to_string() const; private: - Impl& get_impl() { return *reinterpret_cast(m_buffer.data()); } - const Impl& get_impl() const { return *reinterpret_cast(m_buffer.data()); } + Impl& get_impl() { + return *reinterpret_cast(m_buffer.data()); + } + + const Impl& get_impl() const { + return *reinterpret_cast(m_buffer.data()); + } Buffer m_buffer; }; -- cgit v1.3