mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-08 07:53:49 +00:00
Convert to C++ nullptr from NULL.
This commit is contained in:
parent
43f8b2f6f0
commit
cf15f42a0f
98 changed files with 1340 additions and 1340 deletions
|
|
@ -26,7 +26,7 @@
|
|||
#include <cassert>
|
||||
|
||||
CDMRCSBK::CDMRCSBK() :
|
||||
m_data(NULL),
|
||||
m_data(nullptr),
|
||||
m_CSBKO(CSBKO::NONE),
|
||||
m_FID(0x00U),
|
||||
m_GI(false),
|
||||
|
|
@ -47,7 +47,7 @@ CDMRCSBK::~CDMRCSBK()
|
|||
|
||||
bool CDMRCSBK::put(const unsigned char* bytes)
|
||||
{
|
||||
assert(bytes != NULL);
|
||||
assert(bytes != nullptr);
|
||||
|
||||
CBPTC19696 bptc;
|
||||
bptc.decode(bytes, m_data);
|
||||
|
|
@ -171,7 +171,7 @@ bool CDMRCSBK::put(const unsigned char* bytes)
|
|||
|
||||
void CDMRCSBK::get(unsigned char* bytes) const
|
||||
{
|
||||
assert(bytes != NULL);
|
||||
assert(bytes != nullptr);
|
||||
|
||||
m_data[10U] ^= CSBK_CRC_MASK[0U];
|
||||
m_data[11U] ^= CSBK_CRC_MASK[1U];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue