--- 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 <string>
+#include "../include/relpipe/writer/TypeId.h"
#include "../include/relpipe/writer/typedefs.h"
namespace relpipe {
--- 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 <relpipe/protocol/constants.h>
+#include "../include/relpipe/writer/TypeId.h"
#include "../include/relpipe/writer/RelationalWriter.h"
#include "../include/relpipe/writer/Factory.h"
#include "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<DataTypeWriterBase*> writers = {&booleanWriter, &integerWriter, &stringWriter};
+ std::vector<DataTypeWriterBase*> writers = {&booleanWriter, &integerWriter, &stringWriter};
/**
* count of columns in the current table
@@ -39,7 +39,7 @@
/**
* types of columns in the current table
*/
- vector<TypeId> columnTypes;
+ std::vector<TypeId> columnTypes;
void writeString(const string_t &stringValue, const TypeId typeId) {
for (DataTypeWriterBase* writer : writers) if (writer->supports(typeId)) return writer->writeString(output, stringValue);