[refactor] Replace boost::function with std::function (#5700)
Replace boost::function with std::function
This commit is contained in:
@ -17,7 +17,6 @@
|
||||
|
||||
#include "runtime/bufferpool/buffer_allocator.h"
|
||||
|
||||
#include <boost/bind/bind.hpp>
|
||||
#include <mutex>
|
||||
|
||||
#include "common/atomic.h"
|
||||
@ -721,7 +720,8 @@ std::string BufferPool::FreeBufferArena::DebugString() {
|
||||
<< " free buffers: " << lists.num_free_buffers.load()
|
||||
<< " low water mark: " << lists.low_water_mark
|
||||
<< " clean pages: " << lists.num_clean_pages.load() << " ";
|
||||
lists.clean_pages.iterate(boost::bind<bool>(Page::DebugStringCallback, &ss, boost::placeholders::_1));
|
||||
lists.clean_pages.iterate(
|
||||
std::bind<bool>(Page::DebugStringCallback, &ss, std::placeholders::_1));
|
||||
ss << "\n";
|
||||
}
|
||||
return ss.str();
|
||||
|
||||
Reference in New Issue
Block a user