mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-03 21:44:30 +08:00
clang-tidy modernize-use-default-member-init and modernize-use-emplace (#3190)
* run clang-tidy with modernize-use-default-member-init * results from modernize-use-emplace * one uniform initialization per line otherwise SWIG is unhappy Co-authored-by: Brian Kelley <fustigator@gmail.com>
This commit is contained in:
@@ -43,7 +43,7 @@ class Catalog {
|
||||
typedef paramType paramType_t;
|
||||
|
||||
//------------------------------------
|
||||
Catalog() : d_fpLength(0), dp_cParams(nullptr){};
|
||||
Catalog() : dp_cParams(nullptr){};
|
||||
|
||||
//------------------------------------
|
||||
virtual ~Catalog() { delete dp_cParams; }
|
||||
@@ -106,7 +106,7 @@ class Catalog {
|
||||
// in the catalog and does not correspond with the
|
||||
// id of the entry in the catalog.
|
||||
// this is more along the lines of bitId
|
||||
unsigned int d_fpLength; //!< the length of our fingerprint
|
||||
unsigned int d_fpLength{0}; //!< the length of our fingerprint
|
||||
paramType *dp_cParams; //!< our params object
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user