Fix SmartHandle implementation issues:

* Fix SmartHandle cyclical include dependencies.
* Remove the SmartHandles include from Iterators and Circulators.
* Move SmartHandle member implementations to the headers and remove SmartHandles.cc.
This commit is contained in:
Martin Marinov
2020-05-12 15:38:33 +01:00
parent 8e705013cb
commit c06d46408f
6 changed files with 71 additions and 141 deletions

View File

@@ -39,16 +39,9 @@
* *
* ========================================================================= */
#pragma once
//== INCLUDES =================================================================
#include "Handles.hh"
#include <OpenMesh/Core/Mesh/PolyConnectivity.hh>
#include <OpenMesh/Core/System/OpenMeshDLLMacros.hh>
#ifndef OPENMESH_POLYCONNECTIVITY_INTERFACE_INCLUDE
#error Don't include this directly, include instead PolyConnectivity.hh
#endif//OPENMESH_POLYCONNECTIVITY_INTERFACE_INCLUDE
//== NAMESPACES ===============================================================
@@ -357,9 +350,6 @@ inline bool SmartFaceHandle::is_boundary() const
assert(mesh() != nullptr);
return mesh()->is_boundary(*this);
}
//=============================================================================
} // namespace OpenMesh
//=============================================================================