src/types/StringDataTypeWriter.h
branchv_0
changeset 57 08c392fc66e4
parent 56 4bd3bc41b579
--- a/src/types/StringDataTypeWriter.h	Fri Apr 22 23:43:07 2022 +0200
+++ b/src/types/StringDataTypeWriter.h	Fri Apr 22 23:47:08 2022 +0200
@@ -48,7 +48,7 @@
 	void writeValue(std::ostream &output, const string_t &value) override {
 		std::string s = convertor.to_bytes(value);
 		integerType.writeValue(output, s.length());
-		output << s.c_str();
+		output << s;
 	}
 
 	wstring toValue(const string_t &stringValue) override {