blob: 0b6a57d869d088e03d0579d8ce53441b5bfb53f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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;
|