Minor cleanups.

This commit is contained in:
Alexander Shaduri
2023-03-06 19:18:16 +04:00
parent 396ea3daf3
commit c8f79c36b4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -227,7 +227,7 @@ std::string SelfTest::force_stop(const std::shared_ptr<CommandExecutor>& smartct
// update status variables. note: the returned error is an error in logic,
// not an hw defect error.
// not a hw defect error.
std::string SelfTest::update(const std::shared_ptr<CommandExecutor>& smartctl_ex)
{
using namespace std::literals;
+1 -1
View File
@@ -318,7 +318,7 @@ bool SmartctlAtaTextParser::parse_section_info(const std::string& body)
{
this->set_data_section_info(body);
AtaStorageProperty::Section section = AtaStorageProperty::Section::info;
const AtaStorageProperty::Section section = AtaStorageProperty::Section::info;
// split by lines.
// e.g. Device Model: ST3500630AS