Update style to (almost) conform to ndn-cxx style using clang-format
diff --git a/server/connection_manager.cpp b/server/connection_manager.cpp
index 1119656..2e149fe 100644
--- a/server/connection_manager.cpp
+++ b/server/connection_manager.cpp
@@ -28,28 +28,30 @@
//
#include "connection_manager.hpp"
-#include <algorithm>
#include <boost/bind.hpp>
+#include <algorithm>
namespace http {
namespace server {
-void connection_manager::start(connection_ptr c)
+void
+connection_manager::start(connection_ptr c)
{
connections_.insert(c);
c->start();
}
-void connection_manager::stop(connection_ptr c)
+void
+connection_manager::stop(connection_ptr c)
{
connections_.erase(c);
c->stop();
}
-void connection_manager::stop_all()
+void
+connection_manager::stop_all()
{
- std::for_each(connections_.begin(), connections_.end(),
- boost::bind(&connection::stop, _1));
+ std::for_each(connections_.begin(), connections_.end(), boost::bind(&connection::stop, _1));
connections_.clear();
}