mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-07 22:44:25 +08:00
cleanup a bunch of compiler warnings (#3849)
* cleanup a bunch of g++ warnings * make it work with clang * remove some additional warnings based on CI builds * fix that version number * stop being verbose when building
This commit is contained in:
@@ -151,9 +151,9 @@ void serialize(Archive &ar, RDKit::PatternHolder &pattern_holder,
|
||||
pattern_holder.getNumBits() != RDKit::PatternHolder::defaultNumBits()) {
|
||||
ar &pattern_holder.getNumBits();
|
||||
} else if (Archive::is_loading::value) {
|
||||
try {
|
||||
try {
|
||||
ar &pattern_holder.getNumBits();
|
||||
} catch (boost::archive::archive_exception) {
|
||||
} catch (boost::archive::archive_exception &) {
|
||||
pattern_holder.getNumBits() = RDKit::PatternHolder::defaultNumBits();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user