cleanup: transition to emplace_back where possible
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I41ea0bcabe0dd71111fa96b5e1baf12d3e79d129
diff --git a/bmc/test/firmware_open_unittest.cpp b/bmc/test/firmware_open_unittest.cpp
index ba0ac87..1eff8d3 100644
--- a/bmc/test/firmware_open_unittest.cpp
+++ b/bmc/test/firmware_open_unittest.cpp
@@ -26,10 +26,8 @@
data.emplace_back(FirmwareFlags::UpdateFlags::lpc, nullptr);
std::vector<HandlerPack> blobs;
- blobs.push_back(std::move(
- HandlerPack(hashBlobId, std::make_unique<ImageHandlerMock>())));
- blobs.push_back(
- std::move(HandlerPack("asdf", std::make_unique<ImageHandlerMock>())));
+ blobs.emplace_back(hashBlobId, std::make_unique<ImageHandlerMock>());
+ blobs.emplace_back("asdf", std::make_unique<ImageHandlerMock>());
auto handler = FirmwareBlobHandler::CreateFirmwareBlobHandler(
std::move(blobs), std::move(data), std::move(CreateActionMap("asdf")));