Address review feedback

This commit is contained in:
Bart
2026-06-08 12:43:36 -04:00
parent 6d5127eb5c
commit ee5a4726b4

View File

@@ -42,9 +42,8 @@ public:
{
}
Status(ErrorCodeI e, std::string s) : type_(Type::ErrorCodeI), code_(e)
Status(ErrorCodeI e, std::string s) : type_(Type::ErrorCodeI), code_(e), messages_{std::move(s)}
{
messages_.push_back(std::move(s));
}
/* Returns a representation of the integer status Code as a string.