Update to latest clang format
Update to clang-format-10
Change-Id: I91e46a3b27c7ebd9a4813a19c1a62ac19bc2f0a0
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/src/Utils.cpp b/src/Utils.cpp
index c92aabc..4e9d4a1 100644
--- a/src/Utils.cpp
+++ b/src/Utils.cpp
@@ -25,15 +25,16 @@
#include <boost/algorithm/string/split.hpp>
#include <boost/container/flat_map.hpp>
#include <boost/lexical_cast.hpp>
-#include <filesystem>
-#include <fstream>
-#include <regex>
#include <sdbusplus/bus/match.hpp>
#include <valijson/adapters/nlohmann_json_adapter.hpp>
#include <valijson/schema.hpp>
#include <valijson/schema_parser.hpp>
#include <valijson/validator.hpp>
+#include <filesystem>
+#include <fstream>
+#include <regex>
+
constexpr const char* templateChar = "$";
namespace fs = std::filesystem;
@@ -372,11 +373,9 @@
}
}
catch (std::invalid_argument&)
- {
- }
+ {}
catch (std::out_of_range&)
- {
- }
+ {}
}
// non-hex numbers
else
@@ -387,8 +386,7 @@
keyPair.value() = temp;
}
catch (boost::bad_lexical_cast&)
- {
- }
+ {}
}
return ret;
}