summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
Diffstat (limited to 'sax')
-rw-r--r--sax/source/tools/fastserializer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sax/source/tools/fastserializer.cxx b/sax/source/tools/fastserializer.cxx
index cd07e7425c71..5a846cf516b7 100644
--- a/sax/source/tools/fastserializer.cxx
+++ b/sax/source/tools/fastserializer.cxx
@@ -478,13 +478,13 @@ namespace sax_fastparser {
{
if (rOrder.hasElements())
{
- std::shared_ptr< ForMerge > pSort( new ForSort(nTag, rOrder) );
+ auto pSort = std::make_shared<ForSort>(nTag, rOrder);
maMarkStack.push( pSort );
maCachedOutputStream.setOutput( pSort );
}
else
{
- std::shared_ptr< ForMerge > pMerge( new ForMerge(nTag) );
+ auto pMerge = std::make_shared<ForMerge>(nTag);
maMarkStack.push( pMerge );
maCachedOutputStream.setOutput( pMerge );
}