X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=test%2Fdata%2Fdecoderstack.cpp;h=70ed7e03695c434e5b31bec049a468c1e8ee3ac2;hp=96f8b4a0ee4ebf6bb41200a269bf871ead274d3c;hb=4c60462b00cc329e61daedd1c2e66724077bd412;hpb=fe3a1c218407f6b8a0d7ac7c454593809212ea9e diff --git a/test/data/decoderstack.cpp b/test/data/decoderstack.cpp index 96f8b4a0..70ed7e03 100644 --- a/test/data/decoderstack.cpp +++ b/test/data/decoderstack.cpp @@ -39,12 +39,12 @@ BOOST_AUTO_TEST_SUITE(DecoderStackTest) BOOST_AUTO_TEST_CASE(TwoDecoderStack) { - sr_context *ctx = NULL; + sr_context *ctx = nullptr; BOOST_REQUIRE(sr_init(&ctx) == SR_OK); BOOST_REQUIRE(ctx); - BOOST_REQUIRE(srd_init(NULL) == SRD_OK); + BOOST_REQUIRE(srd_init(nullptr) == SRD_OK); srd_decoder_load_all();