]> sigrok.org Git - libsigrokflow.git/blobdiff - src/legacy_capture_device.cpp
Avoid "using namespace std" everywhere.
[libsigrokflow.git] / src / legacy_capture_device.cpp
index 419a69a3678b9799c0663caa3aa007ee6abf7014..2f5ce0b1b681a36afc8a4c94a6320d2397964cb6 100644 (file)
 namespace Srf
 {
 
-using namespace std;
-using namespace std::placeholders;
+using std::move;
+using std::placeholders::_1;
+using std::placeholders::_2;
+using std::runtime_error;
+using std::shared_ptr;
+using std::static_pointer_cast;
 
 #ifdef HAVE_LIBSIGROKCXX
 void LegacyCaptureDevice::class_init(Gst::ElementClass<LegacyCaptureDevice> *klass)