PerformScan: Unwrap comments in getRecordName()
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I67910bb647d8ad78abea2db8fddf14453ba0ebed
diff --git a/src/PerformScan.cpp b/src/PerformScan.cpp
index 1f87c57..c7d0a8f 100644
--- a/src/PerformScan.cpp
+++ b/src/PerformScan.cpp
@@ -214,8 +214,7 @@
return probeName;
}
- // use an array so alphabetical order from the
- // flat_map is maintained
+ // use an array so alphabetical order from the flat_map is maintained
auto device = nlohmann::json::array();
for (auto& devPair : probe)
{
@@ -224,8 +223,8 @@
devPair.second);
}
size_t hash = std::hash<std::string>{}(probeName + device.dump());
- // hashes are hard to distinguish, use the
- // non-hashed version if we want debug
+ // hashes are hard to distinguish, use the non-hashed version if we want
+ // debug
if constexpr (debug)
{
return probeName + device.dump();