Closed KuDeSnik33ra closed 4 years ago
Theese functions should be marked inline - otherwise, compiling projects with multiple cpp files, including CDT, will fail. CDTUtils.hpp,99
Edge::Edge(VertInd iV1, VertInd iV2) : m_vertices( iV1 < iV2 ? std::make_pair(iV1, iV2) : std::make_pair(iV2, iV1)) {} bool Edge::operator==(const Edge& other) const { return m_vertices == other.m_vertices; } VertInd Edge::v1() const { return m_vertices.first; } VertInd Edge::v2() const { return m_vertices.second; } const std::pair<VertInd, VertInd>& Edge::verts() const { return m_vertices; }
What's the compilation error? Do you have CDT_USE_AS_COMPILED_LIBRARY defined?
CDT_USE_AS_COMPILED_LIBRARY
I was able to reproduce it.
Hello, thanks!
Thanks a lot for reporting the issue! Fixed in: f53d788
Theese functions should be marked inline - otherwise, compiling projects with multiple cpp files, including CDT, will fail. CDTUtils.hpp,99