mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-17 23:52:30 +00:00
C++11 compatibility fixes.
This commit is contained in:
@@ -52,12 +52,12 @@ ElementTransferList::ElementTransferList(core::Download* d) :
|
||||
m_window(NULL),
|
||||
m_focus(0) {
|
||||
|
||||
m_bindings[KEY_LEFT] = m_bindings['B' - '@'] = std::tr1::bind(&slot_type::operator(), &m_slot_exit);
|
||||
m_bindings[KEY_LEFT] = m_bindings['B' - '@'] = std::bind(&slot_type::operator(), &m_slot_exit);
|
||||
|
||||
m_bindings[KEY_DOWN] = std::tr1::bind(&ElementTransferList::receive_next, this);
|
||||
m_bindings[KEY_UP] = std::tr1::bind(&ElementTransferList::receive_prev, this);
|
||||
m_bindings[KEY_NPAGE] = std::tr1::bind(&ElementTransferList::receive_pagenext, this);
|
||||
m_bindings[KEY_PPAGE] = std::tr1::bind(&ElementTransferList::receive_pageprev, this);
|
||||
m_bindings[KEY_DOWN] = std::bind(&ElementTransferList::receive_next, this);
|
||||
m_bindings[KEY_UP] = std::bind(&ElementTransferList::receive_prev, this);
|
||||
m_bindings[KEY_NPAGE] = std::bind(&ElementTransferList::receive_pagenext, this);
|
||||
m_bindings[KEY_PPAGE] = std::bind(&ElementTransferList::receive_pageprev, this);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user