mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-03 21:44:30 +08:00
Modernization: use nullptr (#3143)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user