diff options
Diffstat (limited to 'lib/output/dumpToConsole.cpp')
-rw-r--r-- | lib/output/dumpToConsole.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/output/dumpToConsole.cpp b/lib/output/dumpToConsole.cpp index 1085bb5..96850f3 100644 --- a/lib/output/dumpToConsole.cpp +++ b/lib/output/dumpToConsole.cpp @@ -71,7 +71,7 @@ namespace MyGrate::Output { { Row r {row, tableMaps.at(row.table_id)->event.table_map}; std::for_each(r.begin(), r.end(), [](auto && fv) { - std::visit(write {}, fv); + fv.visit(write {}); }); } @@ -80,10 +80,10 @@ namespace MyGrate::Output { { RowPair rp {row, tableMaps.at(row.table_id)->event.table_map}; std::for_each(rp.first.begin(), rp.first.end(), [](auto && fv) { - std::visit(write {}, fv); + fv.visit(write {}); }); std::for_each(rp.second.begin(), rp.second.end(), [](auto && fv) { - std::visit(write {}, fv); + fv.visit(write {}); }); } |