Tidy up includes:

* Replace boost with std equivalents:
  - bind, ref, cref, function, placeholders
* More "include what you use"
* Remove unnecessary includes
This commit is contained in:
Vinnie Falco
2014-06-15 18:26:50 -07:00
parent cf3eb24eb0
commit 506910147f
125 changed files with 343 additions and 1012 deletions

View File

@@ -26,7 +26,7 @@ ServerImpl::ServerImpl (Server& server, Handler& handler, beast::Journal journal
, m_handler (handler)
, m_journal (journal)
, m_strand (m_io_service)
, m_work (boost::in_place (boost::ref (m_io_service)))
, m_work (boost::in_place (std::ref (m_io_service)))
, m_stopped (true)
{
startThread ();
@@ -213,7 +213,7 @@ void ServerImpl::handle_update ()
//
void ServerImpl::update ()
{
m_io_service.post (m_strand.wrap (boost::bind (
m_io_service.post (m_strand.wrap (std::bind (
&ServerImpl::handle_update, this)));
}