diff --git a/include/MacStd/common.hpp b/include/MacStd/common.hpp index 3fd3b77..a798b7f 100644 --- a/include/MacStd/common.hpp +++ b/include/MacStd/common.hpp @@ -433,47 +433,47 @@ namespace macstd }; - /// - /// Numerical runtime error - /// - template - class num_runtime_error : public std::runtime_error - { - public: - typedef _Tn error_type; ///< Error number type + /// + /// Numerical runtime error + /// + template + class num_runtime_error : public std::runtime_error + { + public: + typedef _Tn error_type; ///< Error number type - public: - /// - /// Constructs an exception - /// - /// \param[in] num Numeric error code - /// \param[in] msg Error message - /// - num_runtime_error(_In_ error_type num, _In_ const std::string& msg) : - m_num(num), - runtime_error(msg) - {} + public: + /// + /// Constructs an exception + /// + /// \param[in] num Numeric error code + /// \param[in] msg Error message + /// + num_runtime_error(_In_ error_type num, _In_ const std::string& msg) : + m_num(num), + runtime_error(msg) + {} - /// - /// Constructs an exception - /// - /// \param[in] num Numeric error code - /// \param[in] msg Error message - /// - num_runtime_error(_In_ error_type num, _In_z_ const char *msg) : - m_num(num), - runtime_error(msg) - {} + /// + /// Constructs an exception + /// + /// \param[in] num Numeric error code + /// \param[in] msg Error message + /// + num_runtime_error(_In_ error_type num, _In_z_ const char *msg) : + m_num(num), + runtime_error(msg) + {} - /// - /// Returns the error number - /// - error_type number() const - { - return m_num; - } + /// + /// Returns the error number + /// + error_type number() const + { + return m_num; + } - protected: - error_type m_num; ///< Numeric error code - }; + protected: + error_type m_num; ///< Numeric error code + }; }