Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Detectors/EMCAL/calib/include/EMCALCalib/CellRecalibrator.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class CellRecalibrator
public:
/// \class CellTypeException
/// \brief Handling of invalid cell types in calibration
class CellTypeException : public std::exception
class CellTypeException final : public std::exception
{
public:
/// \brief Constructor
Expand All @@ -73,7 +73,7 @@ class CellRecalibrator

/// \brief Get error message of the exception
/// \return Error message
const char* what() const noexcept final
[[nodiscard]] char const* what() const noexcept final
{
return "Only possible to calibrate cells of type high gain or low gain";
}
Expand Down Expand Up @@ -208,4 +208,4 @@ std::ostream& operator<<(std::ostream& in, const CellRecalibrator& calib);

} // namespace o2

#endif // !ALCEO2_EMCAL_CELLRECALIBRATOR_H
#endif // !ALCEO2_EMCAL_CELLRECALIBRATOR_H