From 5e5c9c07291f6b09623d31c92b1fb61c4ede576e Mon Sep 17 00:00:00 2001 From: Sandro Jäckel Date: Thu, 22 Feb 2018 16:54:34 +0100 Subject: Applied clang-format on source --- src/shared/windows_error.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/shared/windows_error.h') diff --git a/src/shared/windows_error.h b/src/shared/windows_error.h index 03ce0abd..66c512f6 100644 --- a/src/shared/windows_error.h +++ b/src/shared/windows_error.h @@ -20,7 +20,6 @@ along with Mod Organizer. If not, see . #ifndef WINDOWS_ERROR_H #define WINDOWS_ERROR_H - #include #define WIN32_LEAN_AND_MEAN #include @@ -29,14 +28,15 @@ namespace MOShared { class windows_error : public std::runtime_error { public: - windows_error(const std::string& message, int errorcode = ::GetLastError()) - : runtime_error(constructMessage(message, errorcode)), m_ErrorCode(errorcode) - {} - int getErrorCode() const { return m_ErrorCode; } + windows_error(const std::string& message, int errorcode = ::GetLastError()) + : runtime_error(constructMessage(message, errorcode)), m_ErrorCode(errorcode) {} + int getErrorCode() const { return m_ErrorCode; } + private: - std::string constructMessage(const std::string& input, int errorcode); + std::string constructMessage(const std::string& input, int errorcode); + private: - int m_ErrorCode; + int m_ErrorCode; }; } // namespace MOShared -- cgit v1.3.1