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);
if (f) {
// should be a reinterpret cast, but some compilers insist
// on giving cv-qualifiers to free functions
functor.members.func_ptr = reinterpret_cast<void (*)()>(f);
functor.members.func_ptr = reinterpret_cast<void (*)()>(f);
return true;
} else {
return false;