]> sigrok.org Git - pulseview.git/blobdiff - pv/toolbars/samplingbar.cpp
Replaced using namespace with using class directives
[pulseview.git] / pv / toolbars / samplingbar.cpp
index 3bd2cb39519eaab2872a439a1f0fabc26c8c9e07..ca0450b43c2f751aff4b9f93383819ef1dfe2a2e 100644 (file)
@@ -34,7 +34,7 @@
 #include <pv/devicemanager.h>
 #include <pv/popups/deviceoptions.h>
 
-using namespace std;
+using std::string;
 
 namespace pv {
 namespace toolbars {
@@ -303,7 +303,7 @@ void SamplingBar::commit_sample_rate()
 
 void SamplingBar::on_device_selected()
 {
-       using namespace pv::popups;
+       using pv::popups::DeviceOptions;
 
        if (_updating_device_selector)
                return;