pfr-manager: Update to clang-format-10
Update the .clang-format and run the
latest clang-format-10 on existing source.
Tested:
It builds fine locally.
Change-Id: I544bccd48426127ae69ae2fa3b1dbb674889dfe0
Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com>
diff --git a/service/src/pfr_mgr.cpp b/service/src/pfr_mgr.cpp
index abc2938..bb31b5c 100644
--- a/service/src/pfr_mgr.cpp
+++ b/service/src/pfr_mgr.cpp
@@ -27,10 +27,10 @@
std::shared_ptr<sdbusplus::asio::dbus_interface> associationIface;
std::set<std::tuple<std::string, std::string, std::string>> associations;
-PfrVersion::PfrVersion(sdbusplus::asio::object_server &srv_,
- std::shared_ptr<sdbusplus::asio::connection> &conn_,
- const std::string &path_, const ImageType &imgType_,
- const std::string &purpose_) :
+PfrVersion::PfrVersion(sdbusplus::asio::object_server& srv_,
+ std::shared_ptr<sdbusplus::asio::connection>& conn_,
+ const std::string& path_, const ImageType& imgType_,
+ const std::string& purpose_) :
server(srv_),
conn(conn_), path(path_), imgType(imgType_), purpose(purpose_)
{
@@ -43,7 +43,7 @@
versionIface->register_property(
versionStr, version,
// Override set
- [this](const std::string &req, std::string &propertyValue) {
+ [this](const std::string& req, std::string& propertyValue) {
if (internalSet)
{
if (req != propertyValue)
@@ -110,8 +110,8 @@
return;
}
-PfrConfig::PfrConfig(sdbusplus::asio::object_server &srv_,
- std::shared_ptr<sdbusplus::asio::connection> &conn_) :
+PfrConfig::PfrConfig(sdbusplus::asio::object_server& srv_,
+ std::shared_ptr<sdbusplus::asio::connection>& conn_) :
server(srv_),
conn(conn_)
{