projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replaced NULL with nullptr
[pulseview.git]
/
pv
/
data
/
decode
/
decoder.cpp
diff --git
a/pv/data/decode/decoder.cpp
b/pv/data/decode/decoder.cpp
index c5fffa6764385dbe6265f9441b32b312f06fcf70..018051df0fccc0182a92fb9ce6727aa9303863a0 100644
(file)
--- a/
pv/data/decode/decoder.cpp
+++ b/
pv/data/decode/decoder.cpp
@@
-20,7
+20,7
@@
#include <cassert>
#include <cassert>
-#include <libsigrok
/libsigrok
.hpp>
+#include <libsigrok
cxx/libsigrokcxx
.hpp>
#include <libsigrokdecode/libsigrokdecode.h>
#include "decoder.hpp"
#include <libsigrokdecode/libsigrokdecode.h>
#include "decoder.hpp"
@@
-129,7
+129,7
@@
srd_decoder_inst* Decoder::create_decoder_inst(srd_session *session, int unit_si
g_hash_table_destroy(opt_hash);
if(!decoder_inst)
g_hash_table_destroy(opt_hash);
if(!decoder_inst)
- return
NULL
;
+ return
nullptr
;
// Setup the channels
GHashTable *const channels = g_hash_table_new_full(g_str_hash,
// Setup the channels
GHashTable *const channels = g_hash_table_new_full(g_str_hash,