spinOnce() fix

This commit is contained in:
Pavel Kirienko 2015-06-07 16:44:47 +03:00
parent 988e404586
commit aa0583c8dc

View File

@ -127,6 +127,15 @@ public:
return -ErrNotInited;
}
int spinOnce()
{
if (started_)
{
return INode::spinOnce();
}
return -ErrNotInited;
}
bool isStarted() const { return started_; }
uint64_t getInternalFailureCount() const { return internal_failure_cnt_; }