projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Moved DevInst::_sdi down into Device
[pulseview.git]
/
pv
/
device
/
device.cpp
diff --git
a/pv/device/device.cpp
b/pv/device/device.cpp
index ca18fc13a73e2f63432832a9b536568d658f0437..be25b5cb1cd017abb7ae0dd46f55650aeeb31878 100644
(file)
--- a/
pv/device/device.cpp
+++ b/
pv/device/device.cpp
@@
-31,8
+31,14
@@
namespace pv {
namespace device {
Device::Device(sr_dev_inst *sdi) :
-
DevInst
(sdi)
+
_sdi
(sdi)
{
+ assert(_sdi);
+}
+
+sr_dev_inst* Device::dev_inst() const
+{
+ return _sdi;
}
std::string Device::format_device_title() const