# HG changeset patch # User František Kučera # Date 1535214069 -7200 # Node ID 135ef93a4ac2381581b55b21cf94470e84becd2a # Parent 00fe696500c5948af39f3af4a64ff10fb3b69eb5 imports, namespaces diff -r 00fe696500c5 -r 135ef93a4ac2 src/DataTypeWriterBase.h --- a/src/DataTypeWriterBase.h Sat Aug 25 17:45:53 2018 +0200 +++ b/src/DataTypeWriterBase.h Sat Aug 25 18:21:09 2018 +0200 @@ -1,6 +1,7 @@ #pragma once #include +#include "../include/relpipe/writer/TypeId.h" #include "../include/relpipe/writer/typedefs.h" namespace relpipe { diff -r 00fe696500c5 -r 135ef93a4ac2 src/Factory.cpp --- a/src/Factory.cpp Sat Aug 25 17:45:53 2018 +0200 +++ b/src/Factory.cpp Sat Aug 25 18:21:09 2018 +0200 @@ -1,5 +1,6 @@ #include +#include "../include/relpipe/writer/TypeId.h" #include "../include/relpipe/writer/RelationalWriter.h" #include "../include/relpipe/writer/Factory.h" #include "StreamRelationalWriter.h" diff -r 00fe696500c5 -r 135ef93a4ac2 src/StreamRelationalWriter.h --- a/src/StreamRelationalWriter.h Sat Aug 25 17:45:53 2018 +0200 +++ b/src/StreamRelationalWriter.h Sat Aug 25 18:21:09 2018 +0200 @@ -25,7 +25,7 @@ types::BooleanDataTypeWriter booleanWriter; types::IntegerDataTypeWriter integerWriter; types::StringDataTypeWriter stringWriter; - vector writers = {&booleanWriter, &integerWriter, &stringWriter}; + std::vector writers = {&booleanWriter, &integerWriter, &stringWriter}; /** * count of columns in the current table @@ -39,7 +39,7 @@ /** * types of columns in the current table */ - vector columnTypes; + std::vector columnTypes; void writeString(const string_t &stringValue, const TypeId typeId) { for (DataTypeWriterBase* writer : writers) if (writer->supports(typeId)) return writer->writeString(output, stringValue);