Use nullptr instead of NULL. Use cstdint instead of stdint.h.

This commit is contained in:
Jim Evins
2017-12-29 19:51:46 -05:00
parent 7f903f5a68
commit 0edea79495
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ namespace glabels
bool QrCode::encode( const std::string& cookedData, glbarcode::Matrix<bool>& encodedData )
{
QRcode *qrcode = QRcode_encodeString( cookedData.c_str(), 0, QR_ECLEVEL_M, QR_MODE_8, 1 );
if ( qrcode == NULL )
if ( qrcode == nullptr )
{
return false;
}
+1 -1
View File
@@ -22,7 +22,7 @@
#include "Constants.h"
#include <stdint.h>
#include <cstdint>
#include <vector>
#include <cctype>
#include <algorithm>
+1 -1
View File
@@ -24,7 +24,7 @@
#include "Barcode1dBase.h"
#include <stdint.h>
#include <cstdint>
namespace glbarcode