We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddadadb commit b4e7f86Copy full SHA for b4e7f86
1 file changed
Framework/src/ObjectsManager.cxx
@@ -61,7 +61,7 @@ void ObjectsManager::UpdateIndex(const string& nonEmptyName)
61
62
Quality ObjectsManager::getQuality(std::string objectName)
63
{
64
- if (mMonitorObjects.count(objectName) == 0) {
+ if (mMonitorObjects.FindObject(objectName.c_str())) {
65
BOOST_THROW_EXCEPTION(ObjectNotFoundError() << errinfo_object_name(objectName));
66
}
67
MonitorObject* mo = getMonitorObject(objectName);
0 commit comments