forked from boostorg/function
Fix indentation; remove obsolete comment
This commit is contained in:
1 parent
e51f941dd4
commit
28b88d07bb
1 file changed
+1
-3
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user