diff options
Diffstat (limited to 'src/device/device_ledger.cpp')
-rw-r--r-- | src/device/device_ledger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/device_ledger.cpp b/src/device/device_ledger.cpp index e8eb7cc8b..cede834a1 100644 --- a/src/device/device_ledger.cpp +++ b/src/device/device_ledger.cpp @@ -2054,7 +2054,7 @@ namespace hw { legder_device = new device_ledger(); legder_device->set_name("Ledger"); } - registry.insert(std::make_pair("Ledger", legder_device)); + registry.insert(std::make_pair("Ledger", std::unique_ptr<device>(legder_device))); } #else //WITH_DEVICE_LEDGER |