X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fpopups%2Fchannels.cpp;h=0251a9d17a0d6604a666afc02c40b4f80c58c5be;hb=83b1c8d251386ac1980284c4668cbdd8e425550f;hp=89080c4fc45426fd5ccaf6b8d2abe8467be9ddad;hpb=efdec55aec1a137460fa362a381ed1904182bfed;p=pulseview.git diff --git a/pv/popups/channels.cpp b/pv/popups/channels.cpp index 89080c4..0251a9d 100644 --- a/pv/popups/channels.cpp +++ b/pv/popups/channels.cpp @@ -24,8 +24,6 @@ #define NOGDI #define NORESOURCE #endif -#include -#include #include #include @@ -44,13 +42,9 @@ using namespace Qt; -using boost::shared_lock; -using boost::shared_mutex; -using std::lock_guard; using std::map; -using std::mutex; -using std::set; using std::shared_ptr; +using std::make_shared; using std::unordered_set; using std::vector; @@ -165,7 +159,7 @@ void Channels::populate_group(shared_ptr group, // popup. shared_ptr binding; if (group) - binding = shared_ptr(new Device(group)); + binding = make_shared(group); // Create a title if the group is going to have any content if ((!sigs.empty() || (binding && !binding->properties().empty())) &&