From 6a15e8360fde19bcd43ac02d5adf0dbc7bf38cc2 Mon Sep 17 00:00:00 2001 From: ToruNiina Date: Thu, 31 Oct 2019 23:13:49 +0900 Subject: [PATCH] refactor: remove redundant namespace specifier --- toml/parser.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toml/parser.hpp b/toml/parser.hpp index 6d89866..f1e311e 100644 --- a/toml/parser.hpp +++ b/toml/parser.hpp @@ -29,7 +29,7 @@ parse_boolean(location& loc) else if(reg.str() == "false") {return ok(std::make_pair(false, reg));} else // internal error. { - throw toml::internal_error(format_underline( + throw internal_error(format_underline( "[error] toml::parse_boolean: internal error", {{std::addressof(reg), "invalid token"}})); } @@ -56,7 +56,7 @@ parse_binary_integer(location& loc) else if(*i == '_'){/* do nothing. */} else // internal error. { - throw toml::internal_error(format_underline( + throw internal_error(format_underline( "[error] toml::parse_integer: internal error", {{std::addressof(token.unwrap()), "invalid token"}})); }