projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replaced boost::function with std::function
[pulseview.git]
/
pv
/
sigsession.cpp
diff --git
a/pv/sigsession.cpp
b/pv/sigsession.cpp
index 1d13de2a7fad3f786cb7f0e8dce8e30c86138f4f..cbcbaa8897e3add1bf5506e2c31a8438da14108a 100644
(file)
--- a/
pv/sigsession.cpp
+++ b/
pv/sigsession.cpp
@@
-39,18
+39,18
@@
#include "view/decodetrace.h"
#include "view/logicsignal.h"
#include "view/decodetrace.h"
#include "view/logicsignal.h"
-#include <
assert.h
>
-
+#include <
cassert
>
+#include <mutex>
#include <stdexcept>
#include <sys/stat.h>
#include <QDebug>
#include <stdexcept>
#include <sys/stat.h>
#include <QDebug>
-using boost::function;
-using boost::lock_guard;
-using boost::mutex;
using std::dynamic_pointer_cast;
using std::dynamic_pointer_cast;
+using std::function;
+using std::lock_guard;
+using std::mutex;
using std::list;
using std::map;
using std::set;
using std::list;
using std::map;
using std::set;
@@
-188,7
+188,7
@@
void SigSession::start_capture(function<void (const QString)> error_handler)
}
// Begin the session
}
// Begin the session
- _sampling_thread =
boost
::thread(
+ _sampling_thread =
std
::thread(
&SigSession::sample_thread_proc, this, _dev_inst,
error_handler);
}
&SigSession::sample_thread_proc, this, _dev_inst,
error_handler);
}