::unlink is declared as noexcept, but the function object it is passed into is not. gcc 7 warns, so wrap ::unlink in a lambda to make it happy.
::unlink is declared as noexcept, but the function object it is passed into is not. gcc 7 warns, so wrap ::unlink in a lambda to make it happy.