/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
FWCore/Framework/src/ESHandle.cc
18 строк
587 B
Rao Atif
Fix static analyzer warnings in ESHandle and bloom filter generator
03 июн 2026, 14:55
03 июн 2026, 14:55
5aaf93f
Код
Авторство
О чём код?
#include "FWCore/Framework/interface/ESHandle.h" #include "FWCore/Framework/interface/ESHandleExceptionFactory.h" #include "FWCore/Utilities/interface/EDMException.h" #include <exception> namespace edm { eventsetup::ComponentDescription const* ESHandleBase::description() const { if (!description_) { throw edm::Exception(edm::errors::InvalidReference, "NullPointer"); } return description_; } [[noreturn]] void ESHandleBase::throwIfDataNotAvailable() { throw edm::Exception(edm::errors::InvalidReference, "ESHandle was not set."); } } // namespace edm