X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fdata%2Fdecode%2Fdecoder.cpp;h=018051df0fccc0182a92fb9ce6727aa9303863a0;hb=4c60462b00cc329e61daedd1c2e66724077bd412;hp=c5fffa6764385dbe6265f9441b32b312f06fcf70;hpb=2acdb232d6bb452cfdfaea3ef5218fb4da592329;p=pulseview.git diff --git a/pv/data/decode/decoder.cpp b/pv/data/decode/decoder.cpp index c5fffa6..018051d 100644 --- a/pv/data/decode/decoder.cpp +++ b/pv/data/decode/decoder.cpp @@ -20,7 +20,7 @@ #include -#include +#include #include #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) - return NULL; + return nullptr; // Setup the channels GHashTable *const channels = g_hash_table_new_full(g_str_hash,