X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdevicemanager.cpp;h=a51148b1d3ad2851a55888749312cb12b837e523;hp=9e3944b5974e4ce5fa1dbd9c2d268c1ebb1e72bd;hb=8b9056d493c657e01fcea037eff6b477c1ec9253;hpb=efdec55aec1a137460fa362a381ed1904182bfed diff --git a/pv/devicemanager.cpp b/pv/devicemanager.cpp index 9e3944b5..a51148b1 100644 --- a/pv/devicemanager.cpp +++ b/pv/devicemanager.cpp @@ -22,38 +22,29 @@ #include #include -#include #include +#include #include -#include #include -#include #include #include -using boost::algorithm::join; - using std::bind; -using std::dynamic_pointer_cast; using std::list; using std::map; using std::placeholders::_1; using std::placeholders::_2; -using std::remove_if; -using std::runtime_error; using std::shared_ptr; using std::string; -using std::vector; using Glib::VariantBase; using sigrok::ConfigKey; using sigrok::Context; using sigrok::Driver; -using sigrok::SessionDevice; namespace pv { @@ -64,7 +55,7 @@ DeviceManager::DeviceManager(shared_ptr context) : driver_scan(entry.second, map()); } -const std::shared_ptr& DeviceManager::context() const +const shared_ptr& DeviceManager::context() const { return context_; }