X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdevices%2Fhardwaredevice.cpp;h=ff52f817327d6d0d5790c91675e764d1d6091212;hp=591c756ba84519abce9b2e0eed39e41f07b83763;hb=83b1c8d251386ac1980284c4668cbdd8e425550f;hpb=efdec55aec1a137460fa362a381ed1904182bfed diff --git a/pv/devices/hardwaredevice.cpp b/pv/devices/hardwaredevice.cpp index 591c756b..ff52f817 100644 --- a/pv/devices/hardwaredevice.cpp +++ b/pv/devices/hardwaredevice.cpp @@ -27,7 +27,6 @@ #include "hardwaredevice.hpp" -using std::dynamic_pointer_cast; using std::shared_ptr; using std::static_pointer_cast; using std::string; @@ -40,8 +39,8 @@ using sigrok::HardwareDevice; namespace pv { namespace devices { -HardwareDevice::HardwareDevice(const std::shared_ptr &context, - std::shared_ptr device) : +HardwareDevice::HardwareDevice(const shared_ptr &context, + shared_ptr device) : context_(context), device_open_(false) {