vcpkg/ports/oatpp-postgresql/fix-windows-build.patch

14 lines
574 B
Diff
Raw Normal View History

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;