Modernization: use nullptr (#3143)

This commit is contained in:
Eisuke Kawashima
2020-05-25 16:40:01 +09:00
committed by GitHub
parent 29ad06f099
commit e86e2c1d5d
88 changed files with 411 additions and 402 deletions

View File

@@ -28,10 +28,10 @@
*/
class RDKIT_DATASTRUCTS_EXPORT ExplicitBitVect : public BitVect {
public:
ExplicitBitVect() : dp_bits(0), d_size(0), d_numOnBits(0){};
ExplicitBitVect() : dp_bits(nullptr), d_size(0), d_numOnBits(0){};
//! initialize with a particular size;
explicit ExplicitBitVect(unsigned int size)
: dp_bits(0), d_size(0), d_numOnBits(0) {
: dp_bits(nullptr), d_size(0), d_numOnBits(0) {
_initForSize(size);
};
//! initialize with a particular size and all bits set