summaryrefslogtreecommitdiffstats
path: root/manager.cpp
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-10-01 18:37:34 -0700
committerPatrick Venture <venture@google.com>2018-10-04 13:57:21 +0000
commit73eb687a46cab0d3d9d679e1af8a7a13353bcd11 (patch)
treeec7e7819a2dfe0a044d0ecd2f6b0009be6126e9d /manager.cpp
parent7210b3109d3c93dd95eec0f74ab0635cba55fe2b (diff)
downloadphosphor-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 'manager.cpp')
-rw-r--r--manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manager.cpp b/manager.cpp
index 5ab7eb3..6a94c1a 100644
--- a/manager.cpp
+++ b/manager.cpp
@@ -347,7 +347,7 @@ bool BlobManager::getSession(uint16_t* sess)
static std::unique_ptr<BlobManager> manager;
-BlobManager* getBlobManager()
+ManagerInterface* getBlobManager()
{
if (manager == nullptr)
{
OpenPOWER on IntegriCloud