diff options
Diffstat (limited to 'cmds/lshal/TextTable.h')
| -rw-r--r-- | cmds/lshal/TextTable.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmds/lshal/TextTable.h b/cmds/lshal/TextTable.h index 91d522aef7..301b4bd969 100644 --- a/cmds/lshal/TextTable.h +++ b/cmds/lshal/TextTable.h @@ -33,11 +33,11 @@ public: TextTableRow() {} // A row of cells. - TextTableRow(std::vector<std::string>&& v) : mFields(std::move(v)) {} + explicit TextTableRow(std::vector<std::string>&& v) : mFields(std::move(v)) {} // A single comment string. - TextTableRow(std::string&& s) : mLine(std::move(s)) {} - TextTableRow(const std::string& s) : mLine(s) {} + explicit TextTableRow(std::string&& s) : mLine(std::move(s)) {} + explicit TextTableRow(const std::string& s) : mLine(s) {} // Whether this row is an actual row of cells. bool isRow() const { return !fields().empty(); } |