mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-11 20:52:30 +00:00
Fixed compiler issues with gcc-4.6 c++0x.
This commit is contained in:
@@ -71,7 +71,7 @@ CommandScheduler::insert(const std::string& key) {
|
||||
delete *itr;
|
||||
|
||||
*itr = new CommandSchedulerItem(key);
|
||||
(*itr)->set_slot(rak::bind_mem_fn(this, &CommandScheduler::call_item, *itr));
|
||||
(*itr)->set_slot(std::tr1::bind(&CommandScheduler::call_item, this, *itr));
|
||||
|
||||
return itr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user