X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdevices%2Fdevice.cpp;h=855a1d82fca65019952b1baf46f21aef60c859de;hp=c6784d403661a21d5ae58f82686695fc577d1d77;hb=0c5fe73e5b66bf31d2dcfa2b2846a86cd2fdf0c4;hpb=8b2eb22ed4f467f5364e8e9824a12137e2433b7e diff --git a/pv/devices/device.cpp b/pv/devices/device.cpp index c6784d40..855a1d82 100644 --- a/pv/devices/device.cpp +++ b/pv/devices/device.cpp @@ -23,12 +23,10 @@ #include "device.hpp" -using std::map; -using std::set; +using std::shared_ptr; using sigrok::ConfigKey; using sigrok::Capability; -using sigrok::Error; using Glib::VariantBase; using Glib::Variant; @@ -42,12 +40,12 @@ Device::~Device() session_->remove_datafeed_callbacks(); } -std::shared_ptr Device::session() const +shared_ptr Device::session() const { return session_; } -std::shared_ptr Device::device() const +shared_ptr Device::device() const { return device_; }