Replace most uses of std::cerr with util::dprint

This commit is contained in:
2023-04-07 16:00:52 -04:00
parent 9d593cc767
commit ef7d0ec365
8 changed files with 7 additions and 22 deletions

View File

@@ -1,4 +1,3 @@
#include <iostream>
#include "world.hpp"
@@ -294,9 +293,7 @@ void World::patch_source(StreamBuffer *sb, DebugCollector *dbc) {
if (modified) {
eng::string errs = source_db_.rebuild();
DebugLine(dbc) << "Source DB rebuilt";
// TODO: I don't currently have any good place to send the
// error messages. This is a stopgap.
std::cerr << errs;
util::dprint(errs);
}
}