Replaced NULL with nullptr
[pulseview.git] / pv / data / decoderstack.cpp
index e9876d21bc268299eeab4c1fd9d835a237001fd7..7c1982bd707aeec31b46735b80f88f2c17d1215b 100644 (file)
@@ -272,7 +272,7 @@ void DecoderStack::begin_decode()
        decode_thread_ = std::thread(&DecoderStack::decode_proc, this);
 }
 
-uint64_t DecoderStack::get_max_sample_count() const
+uint64_t DecoderStack::max_sample_count() const
 {
        uint64_t max_sample_count = 0;
 
@@ -334,7 +334,7 @@ void DecoderStack::decode_proc()
 {
        optional<int64_t> sample_count;
        srd_session *session;
-       srd_decoder_inst *prev_di = NULL;
+       srd_decoder_inst *prev_di = nullptr;
 
        assert(segment_);