diff options
author | MoroccanMalinois <MoroccanMalinois@protonmail.com> | 2018-03-04 18:56:48 +0000 |
---|---|---|
committer | MoroccanMalinois <MoroccanMalinois@protonmail.com> | 2018-03-04 18:56:48 +0000 |
commit | 25ea307d675496c7cddc463fa13d1d5d0c286dba (patch) | |
tree | 754b7d91218f2f70f6d34befe696393c64dd1ed1 /src/device/device_default.cpp | |
parent | Merge pull request #3303 (diff) | |
download | monero-25ea307d675496c7cddc463fa13d1d5d0c286dba.tar.xz |
Fix invalid device unique_ptr cast
Diffstat (limited to 'src/device/device_default.cpp')
-rw-r--r-- | src/device/device_default.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device/device_default.cpp b/src/device/device_default.cpp index a38d96c15..c3ba42000 100644 --- a/src/device/device_default.cpp +++ b/src/device/device_default.cpp @@ -254,10 +254,10 @@ namespace hw { default_core_device->set_name("default_core_device"); } - registry.insert(std::make_pair("default",default_core_device)); + registry.insert(std::make_pair("default", std::unique_ptr<device>(default_core_device))); } } -}
\ No newline at end of file +} |