From 28b88d07bb4807445462c3f5dab0efde6f532d32 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 6 Feb 2024 08:57:58 +0200 Subject: [PATCH] Fix indentation; remove obsolete comment --- include/boost/function/function_template.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/boost/function/function_template.hpp b/include/boost/function/function_template.hpp index a33904b..ee3fc7a 100644 --- a/include/boost/function/function_template.hpp +++ b/include/boost/function/function_template.hpp @@ -454,9 +454,7 @@ namespace boost { { this->clear(functor); if (f) { - // should be a reinterpret cast, but some compilers insist - // on giving cv-qualifiers to free functions - functor.members.func_ptr = reinterpret_cast(f); + functor.members.func_ptr = reinterpret_cast(f); return true; } else { return false;