projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replaced using namespace with using class directives
[pulseview.git]
/
pv
/
data
/
decoderstack.cpp
diff --git
a/pv/data/decoderstack.cpp
b/pv/data/decoderstack.cpp
index c2ae9116856161a94826db1adeadcfe9366d647b..5b58761f9c1c3464121299c3c6259a907015a10a 100644
(file)
--- a/
pv/data/decoderstack.cpp
+++ b/
pv/data/decoderstack.cpp
@@
-35,8
+35,13
@@
#include <pv/data/decode/annotation.h>
#include <pv/view/logicsignal.h>
#include <pv/data/decode/annotation.h>
#include <pv/view/logicsignal.h>
-using namespace boost;
-using namespace std;
+using boost::lock_guard;
+using boost::mutex;
+using boost::shared_ptr;
+using std::deque;
+using std::min;
+using std::list;
+using std::vector;
namespace pv {
namespace data {
namespace pv {
namespace data {
@@
-202,7
+207,8
@@
void DecoderStack::decode_proc(shared_ptr<data::Logic> data)
srd_session_start(session);
for (int64_t i = 0;
srd_session_start(session);
for (int64_t i = 0;
- !this_thread::interruption_requested() && i < sample_count;
+ !boost::this_thread::interruption_requested() &&
+ i < sample_count;
i += DecodeChunkLength)
{
lock_guard<mutex> decode_lock(_global_decode_mutex);
i += DecodeChunkLength)
{
lock_guard<mutex> decode_lock(_global_decode_mutex);