From 011a53e7ba1ac6dcabe4746755e9b43c7666d43c Mon Sep 17 00:00:00 2001 From: Max Lyon Date: Fri, 27 Sep 2019 12:55:57 +0200 Subject: [PATCH] let handle function of circulator return smart handle --- src/OpenMesh/Core/Mesh/CirculatorsT.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OpenMesh/Core/Mesh/CirculatorsT.hh b/src/OpenMesh/Core/Mesh/CirculatorsT.hh index 4ae25858..6436ae61 100644 --- a/src/OpenMesh/Core/Mesh/CirculatorsT.hh +++ b/src/OpenMesh/Core/Mesh/CirculatorsT.hh @@ -572,7 +572,7 @@ class GenericCirculatorT_DEPRECATED : protected GenericCirculatorBaseT and * instead. */ OM_DEPRECATED("This function clutters your code. Use dereferencing operators -> and * instead.") - value_type handle() const { + smart_value_type handle() const { return **this; }