bmc: move transports vector into handler object
Move the transport vector to the firmware handler object.
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Ic64b56b95ec52d4bbeb7e12ac26d0cc238363e42
diff --git a/bmc/test/firmware_commit_unittest.cpp b/bmc/test/firmware_commit_unittest.cpp
index 51592a9..eb11211 100644
--- a/bmc/test/firmware_commit_unittest.cpp
+++ b/bmc/test/firmware_commit_unittest.cpp
@@ -56,7 +56,7 @@
std::make_unique<StrictMock<TriggerMock>>();
auto handler = FirmwareBlobHandler::CreateFirmwareBlobHandler(
- std::move(blobs), data, std::move(CreateActionMap("asdf")));
+ std::move(blobs), std::move(data), std::move(CreateActionMap("asdf")));
EXPECT_CALL(*imageMock2, open("asdf")).WillOnce(Return(true));
@@ -77,7 +77,7 @@
std::make_unique<StrictMock<TriggerMock>>();
auto handler = FirmwareBlobHandler::CreateFirmwareBlobHandler(
- std::move(blobs), data, std::move(CreateActionMap("asdf")));
+ std::move(blobs), std::move(data), std::move(CreateActionMap("asdf")));
EXPECT_CALL(*imageMock1, open(StrEq(hashBlobId))).WillOnce(Return(true));