diff options
author | Fred Hornsey <hornseyf@objectcomputing.com> | 2020-12-05 22:54:14 -0600 |
---|---|---|
committer | Fred Hornsey <hornseyf@objectcomputing.com> | 2020-12-05 22:54:14 -0600 |
commit | 8e8b8b521d4d5723abebfaf415e9524cf57fe131 (patch) | |
tree | 88335ccfd99bb14ca81d91fe2505ead566bdf0a0 | |
parent | 240385086aad15ade7430ee771d589b9abeec816 (diff) | |
download | ATCD-8e8b8b521d4d5723abebfaf415e9524cf57fe131.tar.gz |
Move [[noreturn]] to after function name
I'm not sure why this is necessary, since one of the examples given on
cppreference.com shows it before the function.
-rw-r--r-- | ACE/ace/OS_NS_stdlib.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ACE/ace/OS_NS_stdlib.h b/ACE/ace/OS_NS_stdlib.h index 42bbac796ab..ffa10c25680 100644 --- a/ACE/ace/OS_NS_stdlib.h +++ b/ACE/ace/OS_NS_stdlib.h @@ -100,10 +100,10 @@ namespace ACE_OS { */ //@{ ACE_NAMESPACE_INLINE_FUNCTION - [[noreturn]] void _exit (int status = 0); + void _exit [[noreturn]] (int status = 0); ACE_NAMESPACE_INLINE_FUNCTION - [[noreturn]] void abort (void); + void abort [[noreturn]] (void); /** * Register an at exit hook. The @a name can be used to analyze shutdown @@ -180,7 +180,7 @@ namespace ACE_OS { void *calloc (size_t elements, size_t sizeof_elements); extern ACE_Export - [[noreturn]] void exit (int status = 0); + void exit [[noreturn]] (int status = 0); extern ACE_Export void free (void *); |