diff options
author | Sergey Yershov <syershov@maps.me> | 2016-12-17 00:42:38 +0300 |
---|---|---|
committer | Sergey Yershov <syershov@maps.me> | 2016-12-28 15:24:51 +0300 |
commit | 20c0eb77e37e8148e37ca50edb3b6c5bab160198 (patch) | |
tree | c0a68233c3a9a0799a2367a9bf4b03825c39834a /base/exception.hpp | |
parent | 8846a23bc3b464f523621aae19396a68839e443f (diff) |
Remove using std from base
Diffstat (limited to 'base/exception.hpp')
-rw-r--r-- | base/exception.hpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/base/exception.hpp b/base/exception.hpp index 195ff101ee..87be96775e 100644 --- a/base/exception.hpp +++ b/base/exception.hpp @@ -2,13 +2,13 @@ #include "base/internal/message.hpp" #include "base/macros.hpp" -#include "std/exception.hpp" -#include "std/string.hpp" +#include <exception> +#include <string> -class RootException : public exception +class RootException : public std::exception { public: - RootException(char const * what, string const & msg) : m_What(what), m_Msg(msg) + RootException(char const * what, std::string const & msg) : m_What(what), m_Msg(msg) { } @@ -18,14 +18,14 @@ public: virtual char const * what() const throw(); - string const & Msg() const throw() + std::string const & Msg() const throw() { return m_Msg; } private: char const * m_What; - string m_Msg; + std::string m_Msg; }; #define DECLARE_EXCEPTION(exception_name, base_exception) \ |