From 8e6cc09d2f442b10fc375c2ea9e9c3b41cb51522 Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Wed, 7 May 2014 11:55:29 +0200 Subject: [PATCH] reformat OSRMException.h --- Util/OSRMException.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Util/OSRMException.h b/Util/OSRMException.h index 32597d357..f4f4290e3 100644 --- a/Util/OSRMException.h +++ b/Util/OSRMException.h @@ -31,15 +31,15 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include #include -class OSRMException: public std::exception { -public: - explicit OSRMException(const char * message) : message(message) {} - explicit OSRMException(const std::string & message) : message(message) {} +class OSRMException : public std::exception +{ + public: + explicit OSRMException(const char *message) : message(message) {} + explicit OSRMException(const std::string &message) : message(message) {} virtual ~OSRMException() throw() {} -private: - virtual const char* what() const throw() { - return message.c_str(); - } + + private: + virtual const char *what() const throw() { return message.c_str(); } const std::string message; };