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_unittest.hpp b/bmc/test/firmware_unittest.hpp
index 3d7fa4e..0b4dc53 100644
--- a/bmc/test/firmware_unittest.hpp
+++ b/bmc/test/firmware_unittest.hpp
@@ -60,7 +60,7 @@
packs[staticLayoutBlobId] = std::move(actionPack);
handler = FirmwareBlobHandler::CreateFirmwareBlobHandler(
- std::move(blobs), data, std::move(packs));
+ std::move(blobs), std::move(data), std::move(packs));
}
void expectedState(FirmwareBlobHandler::UpdateState state)
@@ -213,7 +213,8 @@
blobs.push_back(std::move(HandlerPack("asdf", std::move(image))));
handler = FirmwareBlobHandler::CreateFirmwareBlobHandler(
- std::move(blobs), data, std::move(CreateActionMap("asdf")));
+ std::move(blobs), std::move(data),
+ std::move(CreateActionMap("asdf")));
}
};
@@ -242,7 +243,8 @@
{FirmwareFlags::UpdateFlags::lpc, &dataMock},
};
handler = FirmwareBlobHandler::CreateFirmwareBlobHandler(
- std::move(blobs), data, std::move(CreateActionMap("asdf")));
+ std::move(blobs), std::move(data),
+ std::move(CreateActionMap("asdf")));
}
};