Refactored error handling.

This commit is contained in:
2017-05-31 18:03:19 +02:00
parent aea640a624
commit 0d8b1e94da
11 changed files with 224 additions and 142 deletions

View File

@@ -15,7 +15,7 @@
std::stringstream errors;
anthem::output::Logger logger(output, errors);
anthem::Context context = {logger, {}};
anthem::Context context(std::move(logger));
context.simplify = true;
context.complete = true;