clang-format: Update to match docs repo
Update the .clang-format file and run clang-format-6.0.
This .clang-format matches the example one in
https://github.com/openbmc/docs/blob/master/cpp-style-and-conventions.md#clang-formatting
Change-Id: Ia331c9a5b040e1a3c45a0ebf1b8d776d93b05ae5
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/rtnetlink_server.hpp b/rtnetlink_server.hpp
index 0991ae0..e62f51c 100644
--- a/rtnetlink_server.hpp
+++ b/rtnetlink_server.hpp
@@ -23,25 +23,24 @@
class Server
{
- public:
+ public:
+ /** @brief Constructor
+ *
+ * @details Sets up the server to handle incoming RTNETLINK events
+ *
+ * @param[in] eventPtr - Unique ptr reference to sd_event.
+ * @param[in] socket - netlink socket.
+ */
+ Server(EventPtr& eventPtr, const phosphor::Descriptor& socket);
- /** @brief Constructor
- *
- * @details Sets up the server to handle incoming RTNETLINK events
- *
- * @param[in] eventPtr - Unique ptr reference to sd_event.
- * @param[in] socket - netlink socket.
- */
- Server(EventPtr& eventPtr, const phosphor::Descriptor& socket);
-
- Server() = delete;
- ~Server() = default;
- Server(const Server&) = delete;
- Server& operator=(const Server&) = delete;
- Server(Server&&) = default;
- Server& operator=(Server &&) = default;
+ Server() = delete;
+ ~Server() = default;
+ Server(const Server&) = delete;
+ Server& operator=(const Server&) = delete;
+ Server(Server&&) = default;
+ Server& operator=(Server&&) = default;
};
-} //namespace rtnetlink
-} //namespce network
-} //namespace phosphor
+} // namespace rtnetlink
+} // namespace network
+} // namespace phosphor