projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Store DeviceOptions::_sdi as const
[pulseview.git]
/
pv
/
prop
/
binding
/
deviceoptions.cpp
diff --git
a/pv/prop/binding/deviceoptions.cpp
b/pv/prop/binding/deviceoptions.cpp
index ff7be104feb8406af3bdcfc4bd22c7dd34ef0e2b..e661b1952f0588e3534424c6bc32def7e42fe209 100644
(file)
--- a/
pv/prop/binding/deviceoptions.cpp
+++ b/
pv/prop/binding/deviceoptions.cpp
@@
-32,14
+32,20
@@
#include <pv/prop/enum.h>
#include <pv/prop/int.h>
#include <pv/prop/enum.h>
#include <pv/prop/int.h>
-using namespace boost;
-using namespace std;
+using boost::bind;
+using boost::function;
+using boost::optional;
+using boost::shared_ptr;
+using std::make_pair;
+using std::pair;
+using std::string;
+using std::vector;
namespace pv {
namespace prop {
namespace binding {
namespace pv {
namespace prop {
namespace binding {
-DeviceOptions::DeviceOptions(
struc
t sr_dev_inst *sdi) :
+DeviceOptions::DeviceOptions(
cons
t sr_dev_inst *sdi) :
_sdi(sdi)
{
assert(sdi);
_sdi(sdi)
{
assert(sdi);