Files
ports/science/rdkit/files/patch-Code_GraphMol_ChemReactions_ReactionParser.h
2026-10-04 04:07:15 +00:00

18 lines
850 B
C++

-- Fix cross-DLL Boost.Python exception translation on FreeBSD.
-- Move exported exception-class destructors out-of-line so the Itanium ABI
-- emits a single typeinfo/vtable instance per class in its owning shared
-- library. Without this each shared module has its own local typeinfo copy
-- and catch-by-derived-type in Python exception translators fails.
--- Code/GraphMol/ChemReactions/ReactionParser.h.orig 2026-08-28 02:56:41 UTC
+++ Code/GraphMol/ChemReactions/ReactionParser.h
@@ -62,7 +62,7 @@ class RDKIT_CHEMREACTIONS_EXPORT ChemicalReactionParse
: _msg(std::move(msg)) {}
//! get the error message
const char *what() const noexcept override { return _msg.c_str(); }
- ~ChemicalReactionParserException() noexcept override = default;
+ ~ChemicalReactionParserException() noexcept override;
private:
std::string _msg;