diff -r 4062b8436838 -r 61fc569b77e6 src/relpipe-tr-guile.cpp --- a/src/relpipe-tr-guile.cpp Sun Feb 03 01:44:07 2019 +0100 +++ b/src/relpipe-tr-guile.cpp Sun Feb 03 12:35:17 2019 +0100 @@ -36,7 +36,6 @@ #include "CLIParser.h" using namespace relpipe::cli; -using namespace relpipe::reader; using namespace relpipe::tr::guile; static void relpipeMain(void *closure, int argc, char **argv) { @@ -49,8 +48,9 @@ try { CLIParser cliParser; Configuration configuration = cliParser.parse(cli.arguments()); - std::shared_ptr reader(Factory::create(std::cin)); - GuileHandler handler(std::cout, configuration, cli.arguments()); + std::shared_ptr reader(reader::Factory::create(std::cin)); + std::shared_ptr writer(writer::Factory::create(std::cout)); + GuileHandler handler(writer.get(), configuration, cli.arguments()); reader->addHandler(&handler); reader->process();