clang-format-11: reformat
The .clang-format file here is an old version of the common one.
Upgrade to the latest and reformat.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ic87853e6004d2d5ad6645a3ece8c0c87ccc96efd
diff --git a/snmp_main.cpp b/snmp_main.cpp
index 123c05e..4522a2a 100644
--- a/snmp_main.cpp
+++ b/snmp_main.cpp
@@ -1,4 +1,5 @@
#include "config.h"
+
#include "snmp_conf_manager.hpp"
#include <phosphor-logging/log.hpp>
@@ -10,7 +11,7 @@
/* Need a custom deleter for freeing up sd_event */
struct EventDeleter
{
- void operator()(sd_event *event) const
+ void operator()(sd_event* event) const
{
event = sd_event_unref(event);
}
@@ -18,13 +19,13 @@
using EventPtr = std::unique_ptr<sd_event, EventDeleter>;
-int main(int argc, char *argv[])
+int main(int argc, char* argv[])
{
using namespace phosphor::logging;
auto bus = sdbusplus::bus::new_default();
- sd_event *event = nullptr;
+ sd_event* event = nullptr;
auto r = sd_event_default(&event);
if (r < 0)
{