mirror of
https://github.com/red0124/ssp.git
synced 2025-12-14 21:59:55 +01:00
Make throw_on_error and string_error separate options, update parser to have line reading a separate function with respect to splitting
This commit is contained in:
@@ -20,11 +20,4 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
template <bool throw_on_error>
|
||||
void throw_if_throw_on_error(const std::string& msg) {
|
||||
if constexpr (throw_on_error) {
|
||||
throw ss::exception(msg);
|
||||
}
|
||||
}
|
||||
|
||||
} /* ss */
|
||||
|
||||
Reference in New Issue
Block a user