make default error_mode Bool

This commit is contained in:
ado
2020-12-27 17:00:06 +01:00
parent 5a1e5b3877
commit 918023496e
4 changed files with 9 additions and 8 deletions

View File

@@ -370,7 +370,7 @@ private:
std::vector<string_range> input_;
std::string string_error_;
bool bool_error_;
enum error_mode error_mode_ { error_mode::String };
enum error_mode error_mode_ { error_mode::Bool };
};
template <>

View File

@@ -331,7 +331,7 @@ private:
const std::string delim_;
std::string string_error_;
bool bool_error_;
error_mode error_mode_{error_mode::String};
error_mode error_mode_{error_mode::Bool};
converter converter_;
converter::split_input split_input_;
FILE* file_{nullptr};