diff options
author | Patrick Venture <venture@google.com> | 2018-10-01 18:37:34 -0700 |
---|---|---|
committer | Patrick Venture <venture@google.com> | 2018-10-04 13:57:21 +0000 |
commit | 73eb687a46cab0d3d9d679e1af8a7a13353bcd11 (patch) | |
tree | ec7e7819a2dfe0a044d0ecd2f6b0009be6126e9d /main.cpp | |
parent | 7210b3109d3c93dd95eec0f74ab0635cba55fe2b (diff) | |
download | phosphor-ipmi-blobs-73eb687a46cab0d3d9d679e1af8a7a13353bcd11.tar.gz phosphor-ipmi-blobs-73eb687a46cab0d3d9d679e1af8a7a13353bcd11.zip |
manager: return abstract base type
Unit-tests later required knowing the vtable for a BlobManager, and this
should avoid that needless complication.
Change-Id: I7a208d08c2065b7383fd5095e00d17c1ab3b0cf5
Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -55,9 +55,8 @@ static ipmi_ret_t handleBlobCommand(ipmi_cmd_t cmd, const uint8_t* reqBuf, return IPMI_CC_INVALID; } - BlobManager* manager = getBlobManager(); - return processBlobCommand(command, manager, &crc, reqBuf, replyCmdBuf, - dataLen); + return processBlobCommand(command, getBlobManager(), &crc, reqBuf, + replyCmdBuf, dataLen); } /* TODO: this should come from the makefile or recipe... */ |