Updated some C++ implementation code to be stricter by adding appropriate 'using' directives for C standard library types.
This commit is contained in:
parent
58046f902f
commit
d17ff80b1a
|
@ -28,6 +28,10 @@
|
||||||
#include "BitBuffer.hpp"
|
#include "BitBuffer.hpp"
|
||||||
#include "QrCode.hpp"
|
#include "QrCode.hpp"
|
||||||
|
|
||||||
|
using std::int8_t;
|
||||||
|
using std::uint8_t;
|
||||||
|
using std::size_t;
|
||||||
|
|
||||||
|
|
||||||
namespace qrcodegen {
|
namespace qrcodegen {
|
||||||
|
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include "QrCode.hpp"
|
#include "QrCode.hpp"
|
||||||
|
|
||||||
|
using std::uint8_t;
|
||||||
using qrcodegen::QrCode;
|
using qrcodegen::QrCode;
|
||||||
using qrcodegen::QrSegment;
|
using qrcodegen::QrSegment;
|
||||||
|
|
||||||
|
|
|
@ -26,6 +26,8 @@
|
||||||
#include "BitBuffer.hpp"
|
#include "BitBuffer.hpp"
|
||||||
#include "QrSegment.hpp"
|
#include "QrSegment.hpp"
|
||||||
|
|
||||||
|
using std::uint8_t;
|
||||||
|
|
||||||
|
|
||||||
namespace qrcodegen {
|
namespace qrcodegen {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue