Update to latest clang-format
Refer:https://github.com/openbmc/docs/blob/ac5d544553934f8083c61c5986a1420261bc8a4c/style/cpp/.clang-format
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I1e06864afc29ce7de463e62fa2a0eb6f70e8fd93
diff --git a/command_table.hpp b/command_table.hpp
index d65db12..295c659 100644
--- a/command_table.hpp
+++ b/command_table.hpp
@@ -15,8 +15,7 @@
{
static constexpr size_t lunBits = 2;
CommandID(uint32_t command) : command(command)
- {
- }
+ {}
uint8_t netFnLun() const
{
@@ -115,12 +114,10 @@
class Entry
{
-
public:
Entry(CommandID command, session::Privilege privilege) :
command(command), privilege(privilege)
- {
- }
+ {}
/**
* @brief Execute the command
@@ -172,14 +169,12 @@
*/
class NetIpmidEntry final : public Entry
{
-
public:
NetIpmidEntry(CommandID command, CommandFunctor functor,
session::Privilege privilege, bool sessionless) :
Entry(command, privilege),
functor(functor), sessionless(sessionless)
- {
- }
+ {}
/**
* @brief Execute the command
@@ -218,13 +213,11 @@
{
private:
struct Private
- {
- };
+ {};
public:
explicit Table(const Private&)
- {
- }
+ {}
Table() = delete;
~Table() = default;
// Command Table is a singleton so copy, copy-assignment, move and