Update style to (almost) conform to ndn-cxx style using clang-format
diff --git a/server/request_handler.hpp b/server/request_handler.hpp
index 08252b4..3311da2 100644
--- a/server/request_handler.hpp
+++ b/server/request_handler.hpp
@@ -30,9 +30,9 @@
#ifndef HTTP_REQUEST_HANDLER_HPP
#define HTTP_REQUEST_HANDLER_HPP
-#include <string>
#include <boost/noncopyable.hpp>
#include <QDir>
+#include <string>
namespace http {
namespace server {
@@ -41,15 +41,15 @@
struct request;
/// The common handler for all incoming requests.
-class request_handler
- : private boost::noncopyable
+class request_handler : private boost::noncopyable
{
public:
/// Construct with a directory containing files to be served.
explicit request_handler(const std::string& doc_root);
/// Handle a request and produce a reply.
- void handle_request(const request& req, reply& rep);
+ void
+ handle_request(const request& req, reply& rep);
private:
/// The directory containing the files to be served.
@@ -57,7 +57,8 @@
/// Perform URL-decoding on a string. Returns false if the encoding was
/// invalid.
- static bool url_decode(const std::string& in, std::string& out);
+ static bool
+ url_decode(const std::string& in, std::string& out);
};
} // namespace server