diff --git a/Code/DataStructs/MultiFPBReader.cpp b/Code/DataStructs/MultiFPBReader.cpp index 7f6830341..9f1febe1c 100644 --- a/Code/DataStructs/MultiFPBReader.cpp +++ b/Code/DataStructs/MultiFPBReader.cpp @@ -11,7 +11,6 @@ #include #include -#include #include #ifdef RDK_THREADSAFE_SSS #include diff --git a/Code/GraphMol/FileParsers/MolFileStereochem.cpp b/Code/GraphMol/FileParsers/MolFileStereochem.cpp index 68cf38006..c28e7c03e 100644 --- a/Code/GraphMol/FileParsers/MolFileStereochem.cpp +++ b/Code/GraphMol/FileParsers/MolFileStereochem.cpp @@ -14,7 +14,6 @@ #include #include #include -#include "MolFileStereochem.h" #include namespace RDKit { diff --git a/Code/GraphMol/FindStereo.cpp b/Code/GraphMol/FindStereo.cpp index 1b3797f3c..7259b664b 100644 --- a/Code/GraphMol/FindStereo.cpp +++ b/Code/GraphMol/FindStereo.cpp @@ -8,7 +8,6 @@ // of the RDKit source tree. // #include -#include #include #include #include diff --git a/Code/RDGeneral/Ranking.h b/Code/RDGeneral/Ranking.h index 36315b35a..21a9b52d9 100644 --- a/Code/RDGeneral/Ranking.h +++ b/Code/RDGeneral/Ranking.h @@ -24,13 +24,13 @@ #include namespace Rankers { -auto pairGreater = [](const auto &v1, const auto &v2) { +inline auto pairGreater = [](const auto &v1, const auto &v2) { return v1.first > v2.first; }; //! function for implementing < on two std::pairs. The first entries are /// compared. -auto pairLess = [](const auto &v1, const auto &v2) { +inline auto pairLess = [](const auto &v1, const auto &v2) { return v1.first < v2.first; };