From 21784a36dd629d32a780c682a3a1cab7791c0790 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Fri, 20 Jun 2025 10:23:08 +0200 Subject: [PATCH] common: Cleanup Signed-off-by: Simon Rozman --- include/MacStd/common.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/MacStd/common.hpp b/include/MacStd/common.hpp index d4f05a5..8d4dda3 100644 --- a/include/MacStd/common.hpp +++ b/include/MacStd/common.hpp @@ -12,16 +12,16 @@ /// #define MACSTD_NONCOPYABLE(C) \ private: \ - C (_In_ const C &h) noexcept; \ - C& operator=(_In_ const C &h) noexcept; + C (const C &h) noexcept; \ + C& operator=(const C &h) noexcept; /// /// Declares a class as non-movable /// #define MACSTD_NONMOVABLE(C) \ private: \ - C (_Inout_ C &&h) noexcept; \ - C& operator=(_Inout_ C &&h) noexcept; + C (C &&h) noexcept; \ + C& operator=(C &&h) noexcept; /// /// Size of the stack buffer in bytes used for initial system function call @@ -342,7 +342,7 @@ namespace macstd /// \param[in] num Numeric error code /// \param[in] msg Error message /// - num_runtime_error(_In_ error_type num, _In_ const std::string& msg) : + num_runtime_error(error_type num, const std::string& msg) : m_num(num), runtime_error(msg) {} @@ -353,7 +353,7 @@ namespace macstd /// \param[in] num Numeric error code /// \param[in] msg Error message /// - num_runtime_error(_In_ error_type num, _In_z_ const char *msg) : + num_runtime_error(error_type num, _In_z_ const char *msg) : m_num(num), runtime_error(msg) {}