except: mark errno_error::throw_code as noreturn
This commit is contained in:
parent
fa9fac1d92
commit
a4b3d1b460
@ -57,8 +57,8 @@ namespace util {
|
|||||||
static void try_code (void);
|
static void try_code (void);
|
||||||
static void try_code (int code);
|
static void try_code (int code);
|
||||||
|
|
||||||
static void throw_code (void);
|
static void throw_code [[gnu::noreturn]] (void);
|
||||||
static void throw_code (int code);
|
static void throw_code [[gnu::noreturn]] (int code);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user