diff --git a/src/config/parser.cpp b/src/config/parser.cpp index 49ed4ed6c4..b837f55528 100644 --- a/src/config/parser.cpp +++ b/src/config/parser.cpp @@ -28,7 +28,6 @@ namespace config { using namespace std::filesystem; using namespace boost::program_options; -using namespace boost::system; BC_PUSH_WARNING(NO_THROW_IN_NOEXCEPT) @@ -93,7 +92,7 @@ bool parser::load_configuration_variables(variables_map& variables, const auto config_path = get_config_option(variables, option_name); // If the existence test errors out we pretend there's no file :/. - error_code code; + std::error_code code; if (!config_path.empty() && exists(config_path, code)) { const auto& path = config_path.string();