diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2023-02-15 07:45:24 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2023-02-15 07:45:24 +0000 |
commit | fc14ad27155e0bdd0e0c20be31bad7dfdf0a3122 (patch) | |
tree | 035efa3d847dcfcd5ca5d749fc302f54c82a18cf /document | |
parent | c5fe5b6be07e57115cd72738a5afd928b0df60ef (diff) |
- [[noreturn]] is standard.
- gnu printf format specification is defacto standard.
Diffstat (limited to 'document')
-rw-r--r-- | document/src/vespa/document/util/bytebuffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/document/src/vespa/document/util/bytebuffer.cpp b/document/src/vespa/document/util/bytebuffer.cpp index 8568ce44c5e..f206fe89e91 100644 --- a/document/src/vespa/document/util/bytebuffer.cpp +++ b/document/src/vespa/document/util/bytebuffer.cpp @@ -19,7 +19,7 @@ namespace document { namespace { -static void throwOutOfBounds(size_t want, size_t has) __attribute__((noinline, noreturn)); +[[noreturn]] static void throwOutOfBounds(size_t want, size_t has) __attribute__((noinline)); void throwOutOfBounds(size_t want, size_t has) { |