common: fix indenting

Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
Simon Rozman 2025-06-09 22:04:55 +02:00
parent e15c6fc25a
commit c0e1163877

View File

@ -433,47 +433,47 @@ namespace macstd
}; };
/// ///
/// Numerical runtime error /// Numerical runtime error
/// ///
template <typename _Tn> template <typename _Tn>
class num_runtime_error : public std::runtime_error class num_runtime_error : public std::runtime_error
{ {
public: public:
typedef _Tn error_type; ///< Error number type typedef _Tn error_type; ///< Error number type
public: public:
/// ///
/// Constructs an exception /// Constructs an exception
/// ///
/// \param[in] num Numeric error code /// \param[in] num Numeric error code
/// \param[in] msg Error message /// \param[in] msg Error message
/// ///
num_runtime_error(_In_ error_type num, _In_ const std::string& msg) : num_runtime_error(_In_ error_type num, _In_ const std::string& msg) :
m_num(num), m_num(num),
runtime_error(msg) runtime_error(msg)
{} {}
/// ///
/// Constructs an exception /// Constructs an exception
/// ///
/// \param[in] num Numeric error code /// \param[in] num Numeric error code
/// \param[in] msg Error message /// \param[in] msg Error message
/// ///
num_runtime_error(_In_ error_type num, _In_z_ const char *msg) : num_runtime_error(_In_ error_type num, _In_z_ const char *msg) :
m_num(num), m_num(num),
runtime_error(msg) runtime_error(msg)
{} {}
/// ///
/// Returns the error number /// Returns the error number
/// ///
error_type number() const error_type number() const
{ {
return m_num; return m_num;
} }
protected: protected:
error_type m_num; ///< Numeric error code error_type m_num; ///< Numeric error code
}; };
} }