clang-format: update to latest from docs repo
This is from openbmc/docs/style/cpp/.clang-format
Other OpenBMC repos are doing the same.
Tested: Built and validator passed.
Change-Id: Ief26c755c9ce012823e16a506342b0547a53517a
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/redfish-core/lib/led.hpp b/redfish-core/lib/led.hpp
index 43e1b5c..25248f8 100644
--- a/redfish-core/lib/led.hpp
+++ b/redfish-core/lib/led.hpp
@@ -40,7 +40,7 @@
// proceed to get enclosure_identify state.
if (!ec)
{
- const bool *blinking = std::get_if<bool>(&asserted);
+ const bool* blinking = std::get_if<bool>(&asserted);
if (!blinking)
{
BMCWEB_LOG_DEBUG << "Get identity blinking LED failed";
@@ -59,7 +59,7 @@
const std::variant<bool> asserted) {
if (!ec)
{
- const bool *ledOn = std::get_if<bool>(&asserted);
+ const bool* ledOn = std::get_if<bool>(&asserted);
if (!ledOn)
{
BMCWEB_LOG_DEBUG
@@ -99,7 +99,7 @@
* @return None.
*/
void setIndicatorLedState(std::shared_ptr<AsyncResp> aResp,
- const std::string &ledState)
+ const std::string& ledState)
{
BMCWEB_LOG_DEBUG << "Set led groups";
bool ledOn = false;