[C++11] Remove a leftover std::function instance.

It's not needed anymore.