summaryrefslogtreecommitdiff
path: root/redfish-core/include/node.hpp
diff options
context:
space:
mode:
authorEd Tanous <ed.tanous@intel.com>2018-08-13 21:11:56 +0300
committerEd Tanous <ed.tanous@intel.com>2018-08-13 21:48:50 +0300
commit8ceb2eca408311131e661227122b2a72a7f65938 (patch)
treec03007e6f49fcaaae019250ac3252376b9972c5d /redfish-core/include/node.hpp
parenta975e9febfb4ed5838b19ecd608da77e8e2e20f0 (diff)
downloadbmcweb-8ceb2eca408311131e661227122b2a72a7f65938.tar.xz
Clang-format cleanup
It looks like some of the code reviews in progress contain clang-format fixes as well. This squashes all of the clang-format fixes into a single commit, that hopefully can go through the process a little faster, as it should only be whitespace changes. In the past, clang-formatting the naughty strings file proved to return inconsistent results, and even formatted files would still be detected as unformatted. Aparently the solution was to run clang-format-5.0 approximately 20 times in a loop, until it decided on a code layout that it was ok with iteration to iteration. This is a bit of a corner case, so I don't think we need to get CI running multiple runs in the future, and can just handle this on a case by case basis. I'd be surprised if anyone else had this issue. Change-Id: I57e2a03676bce20dc376fd9cea724732b2dc7010 Signed-off-by: Ed Tanous <ed.tanous@intel.com>
Diffstat (limited to 'redfish-core/include/node.hpp')
-rw-r--r--redfish-core/include/node.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/redfish-core/include/node.hpp b/redfish-core/include/node.hpp
index ebd8989bea..20d295197e 100644
--- a/redfish-core/include/node.hpp
+++ b/redfish-core/include/node.hpp
@@ -74,14 +74,14 @@ class Node {
void getSubRoutes(const std::vector<std::unique_ptr<Node>>& allNodes) {
const std::string* url = getUrl();
if (url == nullptr) {
- //BMCWEB_LOG_CRITICAL << "Unable to get url for route";
+ // BMCWEB_LOG_CRITICAL << "Unable to get url for route";
return;
}
for (const auto& node : allNodes) {
const std::string* route = node->getUrl();
if (route == nullptr) {
- //BMCWEB_LOG_CRITICAL << "Unable to get url for route";
+ // BMCWEB_LOG_CRITICAL << "Unable to get url for route";
continue;
}
if (boost::starts_with(*route, *url)) {