fix compile issue caused by interface change (#8727)

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>
This commit is contained in:
Yuan Hu 2021-11-22 15:07:18 +08:00 committed by GitHub
parent 8aa718549a
commit 64e45447f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,7 +111,7 @@ public:
mockPlugin = InferenceEngine::InferencePlugin{{}, mockIPluginPtr}; mockPlugin = InferenceEngine::InferencePlugin{{}, mockIPluginPtr};
// remove annoying ON CALL message // remove annoying ON CALL message
EXPECT_CALL(*mockIPluginPtr, LoadNetwork(MatcherCast<const CNNNetwork&>(_), _)).Times(1); EXPECT_CALL(*mockIPluginPtr, LoadNetwork(MatcherCast<const CNNNetwork&>(_), _)).Times(1);
mockExeNetwork = {{}, mockPlugin.LoadNetwork(CNNNetwork{}, {})}; mockExeNetwork = mockPlugin.LoadNetwork(CNNNetwork{}, {});
// prepare mockicore and cnnNetwork for loading // prepare mockicore and cnnNetwork for loading
core = std::shared_ptr<MockICore>(new MockICore()); core = std::shared_ptr<MockICore>(new MockICore());