diff --git a/CGAL_Core/include/CGAL/CORE/BigRat.h b/CGAL_Core/include/CGAL/CORE/BigRat.h index 7cfe573d068..0dd724775af 100644 --- a/CGAL_Core/include/CGAL/CORE/BigRat.h +++ b/CGAL_Core/include/CGAL/CORE/BigRat.h @@ -115,8 +115,8 @@ public: mpq_clear(mp); } - CORE_NEW(BigRatRep) - CORE_DELETE(BigRatRep) + CGAL_CORE_EXPORT CORE_NEW(BigRatRep) + CGAL_CORE_EXPORT CORE_DELETE(BigRatRep) mpq_srcptr get_mp() const { return mp; @@ -486,7 +486,6 @@ inline BigInt BigIntValue(const BigRat& a) { return a.BigIntValue(); } - CORE_MEMORY_IMPL(BigRatRep) } //namespace CORE #endif // _CORE_BIGRAT_H_ diff --git a/CGAL_Core/include/CGAL/CORE/Expr_impl.h b/CGAL_Core/include/CGAL/CORE/Expr_impl.h index d253c949c83..5fbebb9d1ad 100644 --- a/CGAL_Core/include/CGAL/CORE/Expr_impl.h +++ b/CGAL_Core/include/CGAL/CORE/Expr_impl.h @@ -1211,6 +1211,7 @@ void BinOpRep::debugTree(int level, int indent, int depthLimit) const { } +CORE_MEMORY_IMPL(BigRatRep) CORE_MEMORY_IMPL(ConstDoubleRep) CORE_MEMORY_IMPL(ConstRealRep) CORE_MEMORY_IMPL(NegRep) @@ -1247,4 +1248,5 @@ template class Realbase_for; template class Realbase_for; template class ConstPolyRep; + template class ConstPolyRep; } //namespace CORE