mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-04 21:54:27 +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:
@@ -199,7 +199,7 @@ void get_containing_nbrs(
|
||||
for (unsigned int i = 0; i < d_readers.size(); ++i) {
|
||||
std::vector<unsigned int> &r_res = accum[i];
|
||||
BOOST_FOREACH (unsigned int ri, r_res) {
|
||||
res.push_back(std::make_pair(ri, i));
|
||||
res.emplace_back(ri, i);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user