projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use bool literals for boolean values.
[pulseview.git]
/
pv
/
data
/
decoderstack.cpp
diff --git
a/pv/data/decoderstack.cpp
b/pv/data/decoderstack.cpp
index 3499baf22205cb1d0338f8d77d8645ab7d437cbd..d3e1f4acd25de681fd147253ddc8d423ce5cd2bc 100644
(file)
--- a/
pv/data/decoderstack.cpp
+++ b/
pv/data/decoderstack.cpp
@@
-40,8
+40,6
@@
using std::make_pair;
using std::max;
using std::min;
using std::list;
using std::max;
using std::min;
using std::list;
-using std::map;
-using std::pair;
using std::shared_ptr;
using std::make_shared;
using std::vector;
using std::shared_ptr;
using std::make_shared;
using std::vector;
@@
-425,7
+423,7
@@
void DecoderStack::annotation_callback(srd_proto_data *pdata, void *decoder)
if (row_iter == d->rows_.end()) {
qDebug() << "Unexpected annotation: decoder = " << decc <<
", format = " << a.format();
if (row_iter == d->rows_.end()) {
qDebug() << "Unexpected annotation: decoder = " << decc <<
", format = " << a.format();
- assert(
0
);
+ assert(
false
);
return;
}
return;
}