summaryrefslogtreecommitdiffstats
path: root/monitor/fan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'monitor/fan.cpp')
-rw-r--r--monitor/fan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor/fan.cpp b/monitor/fan.cpp
index 637a3ca..256d0cb 100644
--- a/monitor/fan.cpp
+++ b/monitor/fan.cpp
@@ -47,7 +47,7 @@ Fan::Fan(Mode mode,
try
{
_sensors.emplace_back(
- std::make_unique<TachSensor>(
+ std::make_shared<TachSensor>(
mode,
bus,
*this,
OpenPOWER on IntegriCloud