From 931f433341620461900ff2cc14c2242fd2cb7435 Mon Sep 17 00:00:00 2001 From: Bart <11445373+bthomee@users.noreply.github.com> Date: Tue, 9 Jun 2026 06:43:23 -0400 Subject: [PATCH] Replace push_back by std::move again --- src/xrpld/rpc/Status.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/xrpld/rpc/Status.h b/src/xrpld/rpc/Status.h index a548913711..809132c97f 100644 --- a/src/xrpld/rpc/Status.h +++ b/src/xrpld/rpc/Status.h @@ -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.