Fix indentation; remove obsolete comment

This commit is contained in:
Peter Dimov
2024-02-06 08:57:58 +02:00
parent e51f941dd4
commit 28b88d07bb

View File

@ -454,9 +454,7 @@ namespace boost {
{ {
this->clear(functor); this->clear(functor);
if (f) { if (f) {
// should be a reinterpret cast, but some compilers insist functor.members.func_ptr = reinterpret_cast<void (*)()>(f);
// on giving cv-qualifiers to free functions
functor.members.func_ptr = reinterpret_cast<void (*)()>(f);
return true; return true;
} else { } else {
return false; return false;