summaryrefslogtreecommitdiff
path: root/writerperfect/qa/unit/WPXSvStreamTest.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'writerperfect/qa/unit/WPXSvStreamTest.cxx')
-rw-r--r--writerperfect/qa/unit/WPXSvStreamTest.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/writerperfect/qa/unit/WPXSvStreamTest.cxx b/writerperfect/qa/unit/WPXSvStreamTest.cxx
index cbd0899b54bd..87ad21f84cde 100644
--- a/writerperfect/qa/unit/WPXSvStreamTest.cxx
+++ b/writerperfect/qa/unit/WPXSvStreamTest.cxx
@@ -78,7 +78,7 @@ shared_ptr<RVNGInputStream> lcl_createStream()
shared_ptr<RVNGInputStream> pInputStream;
if (xInputStream.is())
- pInputStream.reset(new WPXSvInputStream(xInputStream));
+ pInputStream = std::make_shared<WPXSvInputStream>(xInputStream);
return pInputStream;
}