Skip to content

Commit 347b854

Browse files
committed
delete: removed temporary diagnosis leftovers
1 parent a5a8f60 commit 347b854

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

src/vmaware.hpp

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5278,8 +5278,6 @@ struct VM {
52785278
return core::add(brands::DOCKER);
52795279
}
52805280

5281-
return core::add(brands::DOCKER); // TEMPORARY
5282-
52835281
return false;
52845282
}
52855283

@@ -12581,12 +12579,12 @@ struct VM {
1258112579
}
1258212580

1258312581
// Hyper-V artifacts are an exception due to how unique the circumstance is
12584-
std::string result;
12585-
if (brand_tmp == brands::HYPERV_ARTIFACT) {
12586-
result = std::string(category) + addition + hardener + brand_tmp;
12587-
} else {
12588-
result = std::string(category) + addition + hardener + brand_tmp + " VM";
12589-
}
12582+
const std::string result =
12583+
std::string(category) +
12584+
addition +
12585+
hardener +
12586+
brand_tmp +
12587+
(brand_tmp == brands::HYPERV_ARTIFACT ? " VM" : "");
1259012588

1259112589
memo::conclusion::store(result.c_str());
1259212590

0 commit comments

Comments
 (0)