From e0fc1ae56a73270f0fc5064b2531ac51169e488a Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Fri, 6 Oct 2023 15:57:36 +0200 Subject: [PATCH] Cleanup Signed-off-by: Simon Rozman --- include/WinStd/Sec.h | 18 ++++++------------ include/WinStd/Win.h | 1 + 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/include/WinStd/Sec.h b/include/WinStd/Sec.h index f9d23b79..314d152e 100644 --- a/include/WinStd/Sec.h +++ b/include/WinStd/Sec.h @@ -107,8 +107,7 @@ namespace winstd sec_credentials(_In_opt_ handle_type h, _In_ const TimeStamp expires) : m_expires(expires), handle(h) - { - } + {} /// /// Move constructor @@ -118,8 +117,7 @@ namespace winstd sec_credentials(_Inout_ sec_credentials &&h) noexcept : m_expires(std::move(h.m_expires)), handle(std::move(h)) - { - } + {} /// /// Frees the security credentials. @@ -216,8 +214,7 @@ namespace winstd m_attrib (std::move(h.m_attrib )), m_expires(std::move(h.m_expires)), handle(std::move(h)) - { - } + {} /// /// Frees the security context. @@ -364,8 +361,7 @@ namespace winstd /// \param[in] msg Error message /// sec_runtime_error(_In_ error_type num, _In_ const std::string& msg) : num_runtime_error(num, msg) - { - } + {} /// /// Constructs an exception @@ -374,8 +370,7 @@ namespace winstd /// \param[in] msg Error message /// sec_runtime_error(_In_ error_type num, _In_opt_z_ const char *msg = nullptr) : num_runtime_error(num, msg) - { - } + {} /// /// Copies an exception @@ -383,8 +378,7 @@ namespace winstd /// \param[in] other Exception to copy from /// sec_runtime_error(const sec_runtime_error &other) : num_runtime_error(other) - { - } + {} }; /// @} diff --git a/include/WinStd/Win.h b/include/WinStd/Win.h index ffafc16d..f8ac1ab1 100644 --- a/include/WinStd/Win.h +++ b/include/WinStd/Win.h @@ -11,6 +11,7 @@ #include "Common.h" #include #include +#include #include #include