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);
|
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;
|
||||||
|
|||||||
Reference in new issue
Block a user