Fixes multiple definitions of symbols (#5202)

* fixes multiple definitions of symbols

* changes in response to Greg's suggestion

Co-authored-by: Tosco, Paolo <paolo.tosco@novartis.com>
This commit is contained in:
Paolo Tosco
2022-04-16 07:21:15 +02:00
committed by GitHub
parent 918f0221b9
commit dfd7d18f27
4 changed files with 2 additions and 5 deletions

View File

@@ -11,7 +11,6 @@
#include <boost/tuple/tuple_comparison.hpp>
#include <RDGeneral/Invariant.h>
#include <RDGeneral/Ranking.h>
#include <RDGeneral/RDThreads.h>
#ifdef RDK_THREADSAFE_SSS
#include <thread>

View File

@@ -14,7 +14,6 @@
#include <Geometry/point.h>
#include <boost/dynamic_bitset.hpp>
#include <algorithm>
#include "MolFileStereochem.h"
#include <RDGeneral/Ranking.h>
namespace RDKit {

View File

@@ -8,7 +8,6 @@
// of the RDKit source tree.
//
#include <GraphMol/RDKitBase.h>
#include <RDGeneral/Ranking.h>
#include <GraphMol/new_canon.h>
#include <RDGeneral/types.h>
#include <algorithm>

View File

@@ -24,13 +24,13 @@
#include <cstdint>
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;
};