From ecfb60d89afb8ce59c508a0c809f0d44d2586f6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Wed, 10 Nov 2021 19:59:28 +0100 Subject: [PATCH] Fix comment --- Homogeneous_kernel/include/CGAL/Homogeneous_converter.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Homogeneous_kernel/include/CGAL/Homogeneous_converter.h b/Homogeneous_kernel/include/CGAL/Homogeneous_converter.h index 9d844278427..9f04f090b4a 100644 --- a/Homogeneous_kernel/include/CGAL/Homogeneous_converter.h +++ b/Homogeneous_kernel/include/CGAL/Homogeneous_converter.h @@ -86,9 +86,6 @@ public: return fc(a); } - // This intentionally does not require that K1::RT is constructible from T, because otherwise - // the function `bool Enum_converter::operator()(bool)` might be called instead, with an implicit - // conversion from the fundamental type to bool, which is usually unintended. template typename K2::RT operator()(const T& t, @@ -100,6 +97,9 @@ public: return rc(typename K1::RT(t)); } + // This intentionally does not require that K1::FT is constructible from T, because otherwise + // the function `bool Enum_converter::operator()(bool)` might be called instead, with an implicit + // conversion from the fundamental type to bool, which is usually unintended. template typename K2::FT operator()(const T& t,