mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-10 04:06:59 +00:00
Replace push_back by std::move again
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user