Fixed getting InputInfo name for empty object (#4564)
This commit is contained in:
parent
6fb742bec4
commit
f5da64db8a
@ -100,6 +100,9 @@ public:
|
||||
* @return A string - the name of the input
|
||||
*/
|
||||
const std::string& name() const {
|
||||
if (!_inputData) {
|
||||
THROW_IE_EXCEPTION << "Data is empty!";
|
||||
}
|
||||
return _inputData->getName();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user