# HG changeset patch # User František Kučera # Date 1532210904 -7200 # Node ID 4585c212a767b44bd5e7cfc50723b49fcda1bd3a # Parent 83dd71fe5cfd8cb03020634b4947484df3217f0b move create() method to a factory diff -r 83dd71fe5cfd -r 4585c212a767 relpipe-in-cli.cpp --- a/relpipe-in-cli.cpp Sat Jul 21 23:47:09 2018 +0200 +++ b/relpipe-in-cli.cpp Sun Jul 22 00:08:24 2018 +0200 @@ -2,11 +2,12 @@ #include #include +#include #include int main(int argc, char** argv) { using namespace relpipe::writer; - std::shared_ptr writer(RelationalWriter::create(std::cout)); + std::shared_ptr writer(Factory::create(std::cout)); writer->startRelation(L"my_first_table",{ {L"a1", TypeId::STRING},