clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.
Change-Id: I6083e412d8356a97b5213a138f370bfeb43a69b3
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/policy_find.cpp b/policy_find.cpp
index bf58301..2e39dc9 100644
--- a/policy_find.cpp
+++ b/policy_find.cpp
@@ -16,6 +16,7 @@
#include "policy_find.hpp"
#include <phosphor-logging/log.hpp>
+
#include <sstream>
namespace ibm
@@ -168,8 +169,8 @@
std::string getSearchModifierFirstTry(const std::string& message,
const DbusPropertyMap& properties)
{
- auto data =
- getProperty<std::vector<std::string>>(properties, "AdditionalData");
+ auto data = getProperty<std::vector<std::string>>(properties,
+ "AdditionalData");
if (!data)
{
@@ -226,8 +227,8 @@
// AdditionalData property. Try them all until one
// is found.
- auto data =
- getProperty<std::vector<std::string>>(properties, "AdditionalData");
+ auto data = getProperty<std::vector<std::string>>(properties,
+ "AdditionalData");
if (!data)
{
@@ -306,8 +307,8 @@
// Try with the FirstTry modifier first, and then the regular one.
- auto modifier =
- getSearchModifierFirstTry(*errorMsg, errorLogProperties);
+ auto modifier = getSearchModifierFirstTry(*errorMsg,
+ errorLogProperties);
if (!modifier.empty())
{