mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 20:43:02 +01:00
Add noreturn attribute to raise functions.
This commit is contained in:
parent
df6fe56515
commit
bdbacfe08c
@ -172,7 +172,7 @@ public:
|
||||
void prepend(const StatusVector& v) throw() { implementation->prepend(v); }
|
||||
void assign(const StatusVector& v) throw() { implementation->assign(v); }
|
||||
void assign(const Exception& ex) throw() { implementation->assign(ex); }
|
||||
void raise() const;
|
||||
[[noreturn]] void raise() const;
|
||||
ISC_STATUS copyTo(ISC_STATUS* dest) const throw() { return implementation->copyTo(dest); }
|
||||
void copyTo(IStatus* dest) const throw() { implementation->copyTo(dest); }
|
||||
void appendTo(IStatus* dest) const throw() { implementation->appendTo(dest); }
|
||||
|
@ -102,9 +102,9 @@ public:
|
||||
|
||||
const ISC_STATUS* value() const throw() { return m_status_vector; }
|
||||
|
||||
static void raise(const ISC_STATUS *status_vector);
|
||||
static void raise(const Arg::StatusVector& statusVector);
|
||||
static void raise(const IStatus* status);
|
||||
[[noreturn]] static void raise(const ISC_STATUS* status_vector);
|
||||
[[noreturn]] static void raise(const Arg::StatusVector& statusVector);
|
||||
[[noreturn]] static void raise(const IStatus* status);
|
||||
|
||||
protected:
|
||||
// Create exception with undefined status vector, this constructor allows
|
||||
|
Loading…
Reference in New Issue
Block a user