Change the exports of CGAL_Core, to fix a link error

This commit is contained in:
Laurent Rineau 2017-11-28 17:59:18 +01:00
parent bb3515ca38
commit bfc654c929
1 changed files with 9 additions and 9 deletions

View File

@ -159,12 +159,12 @@ struct NodeInfo {
// Members: private: int refCount, // Members: private: int refCount,
// public: NodeInfo* nodeInfo, // public: NodeInfo* nodeInfo,
// filteredFp ffVal. // filteredFp ffVal.
class ExprRep { class CGAL_CORE_EXPORT ExprRep {
public: public:
/// \name Constructor and Destructor /// \name Constructor and Destructor
//@{ //@{
/// default constructor /// default constructor
CGAL_CORE_EXPORT ExprRep(); ExprRep();
/// virtual destructor for this base class /// virtual destructor for this base class
virtual ~ExprRep() { virtual ~ExprRep() {
if (nodeInfo != NULL) // This check is only for optimization. if (nodeInfo != NULL) // This check is only for optimization.
@ -196,8 +196,8 @@ public:
/// \name Helper Functions /// \name Helper Functions
//@{ //@{
/// Get the approximate value /// Get the approximate value
CGAL_CORE_EXPORT const Real & getAppValue(const extLong& relPrec = get_static_defRelPrec(), const Real & getAppValue(const extLong& relPrec = get_static_defRelPrec(),
const extLong& absPrec = get_static_defAbsPrec()); const extLong& absPrec = get_static_defAbsPrec());
/// Get the sign. /// Get the sign.
int getSign(); int getSign();
int getExactSign(); int getExactSign();
@ -472,7 +472,7 @@ public:
/// \class ConstRep /// \class ConstRep
/// \brief constant node /// \brief constant node
class ConstRep : public ExprRep { class CGAL_CORE_EXPORT ConstRep : public ExprRep {
public: public:
/// \name Constructors and Destructor /// \name Constructors and Destructor
//@{ //@{
@ -485,20 +485,20 @@ public:
/// \name Debug Functions /// \name Debug Functions
//@{ //@{
/// print debug information in list mode /// print debug information in list mode
CGAL_CORE_EXPORT void debugList(int level, int depthLimit) const; void debugList(int level, int depthLimit) const;
/// print debug information in tree mode /// print debug information in tree mode
CGAL_CORE_EXPORT void debugTree(int level, int indent, int depthLimit) const; void debugTree(int level, int indent, int depthLimit) const;
//@} //@}
protected: protected:
/// initialize nodeInfo /// initialize nodeInfo
CGAL_CORE_EXPORT virtual void initNodeInfo(); virtual void initNodeInfo();
/// return operator in string /// return operator in string
const std::string op() const { const std::string op() const {
return "C"; return "C";
} }
/// count returns the degree of current node /// count returns the degree of current node
//extLong count() { return d_e(); } //extLong count() { return d_e(); }
CGAL_CORE_EXPORT extLong count(); extLong count();
/// clear visited flag /// clear visited flag
void clearFlag() { void clearFlag() {
visited() = false; visited() = false;