Use boost::bind for WorkQueue::SetExceptionCallback.

Refs #5002
This commit is contained in:
Gunnar Beutner 2013-11-05 13:59:30 +01:00
parent 8e07a3a241
commit 5be3139b5e
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ void IdoMysqlConnection::Start(void)
m_Connected = false;
m_QueryQueue.SetExceptionCallback(&IdoMysqlConnection::ExceptionHandler);
m_QueryQueue.SetExceptionCallback(boost::bind(&IdoMysqlConnection::ExceptionHandler, this, _1));
m_TxTimer = boost::make_shared<Timer>();
m_TxTimer->SetInterval(5);

View File

@ -44,7 +44,7 @@ void IdoPgsqlConnection::Start(void)
m_Connection = NULL;
m_QueryQueue.SetExceptionCallback(&IdoPgsqlConnection::ExceptionHandler);
m_QueryQueue.SetExceptionCallback(boost::bind(&IdoPgsqlConnection::ExceptionHandler, this, _1));
m_TxTimer = boost::make_shared<Timer>();
m_TxTimer->SetInterval(5);