vcpkg/ports/oatpp-postgresql/fix-windows-build.patch
autoantwort fe6e4b711f
[oatpp] update to 1.2.5 (#17601)
* [oatpp] update to 1.2.5

* add version files

* update oatcpp libs to 1.2.5

* add version files

* use version instead of version string

* add version files

* update hashes

* add version files

* fix windows build

* add version files

* fix windows build

* add version files
2021-05-18 00:41:30 -07:00

14 lines
574 B
Diff

diff --git a/src/oatpp-postgresql/mapping/Serializer.hpp b/src/oatpp-postgresql/mapping/Serializer.hpp
index af76701..615d11b 100644
--- a/src/oatpp-postgresql/mapping/Serializer.hpp
+++ b/src/oatpp-postgresql/mapping/Serializer.hpp
@@ -201,7 +201,7 @@ private:
outData.oid = _this->getArrayTypeOid(itemType);
outData.dataSize = stream.getCurrentPosition();
- outData.dataBuffer.template reset(new char[outData.dataSize]);
+ outData.dataBuffer.reset(new char[outData.dataSize]);
outData.data = outData.dataBuffer.get();
outData.dataFormat = 1;