mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-03 21:44:30 +08:00
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:
@@ -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>
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#include <Geometry/point.h>
|
||||
#include <boost/dynamic_bitset.hpp>
|
||||
#include <algorithm>
|
||||
#include "MolFileStereochem.h"
|
||||
#include <RDGeneral/Ranking.h>
|
||||
|
||||
namespace RDKit {
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user