From d66d62236b3354e26157efa91689d1a22ae3866d Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 12 Feb 2010 06:33:09 +0000 Subject: Well, it compiles. I think I may make newline inherit from buffer, I dunno... --- src/tests/csv.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/tests') diff --git a/src/tests/csv.cpp b/src/tests/csv.cpp index 03e1df8..96db756 100644 --- a/src/tests/csv.cpp +++ b/src/tests/csv.cpp @@ -2,6 +2,7 @@ #include "bu/file.h" #include "bu/newline.h" #include "bu/csvreader.h" +#include "bu/buffer.h" #include "bu/sio.h" using namespace Bu; @@ -23,7 +24,8 @@ public: { File fIn( aArgs[1], File::Read ); NewLine nlIn( fIn ); - CsvReader rCsv( nlIn ); + Buffer bIn( nlIn ); + CsvReader rCsv( bIn ); while( !fIn.isEos() ) { sio << rCsv.readLine() << sio.nl; -- cgit v1.2.3