summaryrefslogtreecommitdiff
path: root/p2pvr/daemon/unittests/mockDevices.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'p2pvr/daemon/unittests/mockDevices.cpp')
-rw-r--r--p2pvr/daemon/unittests/mockDevices.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/p2pvr/daemon/unittests/mockDevices.cpp b/p2pvr/daemon/unittests/mockDevices.cpp
index e5ec6a4..135664f 100644
--- a/p2pvr/daemon/unittests/mockDevices.cpp
+++ b/p2pvr/daemon/unittests/mockDevices.cpp
@@ -13,7 +13,7 @@ namespace P2PVR {
TunerPtr
MockDevices::openTuner(const boost::filesystem::path & path) const
{
- return new P2PVR::DVB::Testing::MockTuner(path, ic);
+ return std::make_shared<P2PVR::DVB::Testing::MockTuner>(path, ic);
}
}
}