src/relpipe-tr-grep.cpp
branchv_0
changeset 7 aebaf590a838
parent 6 0f28565508ca
child 8 f66c759d1111
--- a/src/relpipe-tr-grep.cpp	Mon Dec 10 00:06:54 2018 +0100
+++ b/src/relpipe-tr-grep.cpp	Mon Dec 10 15:19:14 2018 +0100
@@ -32,11 +32,11 @@
 #include <relpipe/writer/Factory.h>
 #include <relpipe/writer/TypeId.h>
 
-#include "PassthroughHandler.h"
+#include "GrepHandler.h"
 
 using namespace relpipe::cli;
 using namespace relpipe::reader;
-using namespace relpipe::tr::validator;
+using namespace relpipe::tr::grep;
 
 int main(int argc, char**argv) {
 	setlocale(LC_ALL, "");
@@ -47,7 +47,7 @@
 
 	try {
 		std::shared_ptr<RelationalReader> reader(Factory::create(std::cin));
-		PassthroughHandler handler(std::cout);
+		GrepHandler handler(std::cout);
 		reader->addHandler(&handler);
 		reader->process();