[libcalamaresui] bail() is a [[noreturn]] function

main
Adriaan de Groot 6 years ago
parent 365f83b789
commit 8dd22dcbbf

@ -353,7 +353,7 @@ Branding::initSimpleSettings( const YAML::Node& doc )
} }
void [[noreturn]] void
Branding::bail( const QString& message ) Branding::bail( const QString& message )
{ {
cError() << "FATAL in" cError() << "FATAL in"

@ -132,7 +132,7 @@ private:
static const QStringList s_imageEntryStrings; static const QStringList s_imageEntryStrings;
static const QStringList s_styleEntryStrings; static const QStringList s_styleEntryStrings;
void bail( const QString& message ); [[noreturn]] void bail( const QString& message );
QString m_descriptorPath; QString m_descriptorPath;
QString m_componentName; QString m_componentName;

Loading…
Cancel
Save