From a8c31275708a3894a900aa229449f9333260e6f8 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 29 Dec 2019 08:33:31 +0100 Subject: [PATCH] Replace using namespace with namespace. --- src/exceptions.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/exceptions.cpp b/src/exceptions.cpp index 1a2587e..7cf25aa 100644 --- a/src/exceptions.cpp +++ b/src/exceptions.cpp @@ -18,10 +18,12 @@ #include -using namespace mastorss; using std::to_string; using std::move; +namespace mastorss +{ + HTTPException::HTTPException(const int error) : error_code{static_cast(error)} {} @@ -61,3 +63,4 @@ const char *FileException::what() const noexcept { return _message.c_str(); } +} // namespace mastorss