mirror of
https://github.com/red0124/ssp.git
synced 2025-12-14 21:59:55 +01:00
make default error_mode Bool
This commit is contained in:
@@ -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 <>
|
||||
|
||||
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user