add/delete constructors and assign operators for the parser, refactor some code, update unit tests

This commit is contained in:
ado
2021-02-07 21:12:13 +01:00
parent 716bc3e223
commit b847699b5e
3 changed files with 216 additions and 167 deletions

View File

@@ -56,6 +56,9 @@ TEST_CASE("testing parser") {
make_and_write(f.name, data);
{
ss::parser p{f.name, ","};
ss::parser p0{std::move(p)};
p = std::move(p0);
p.set_error_mode(ss::error_mode::error_string);
std::vector<X> i;