Skip to content

Commit 96f25bb

Browse files
committed
Specify std::error_code usage in parser.cpp, without it fails to compile on CPP17 amd above
1 parent 9763bc6 commit 96f25bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/config/parser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ bool parser::load_configuration_variables(variables_map& variables,
9393
const auto config_path = get_config_option(variables, option_name);
9494

9595
// If the existence test errors out we pretend there's no file :/.
96-
error_code code;
96+
std::error_code code;
9797
if (!config_path.empty() && exists(config_path, code))
9898
{
9999
const auto& path = config_path.string();

0 commit comments

Comments
 (0)