aboutsummaryrefslogtreecommitdiffstats
path: root/document
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2023-02-15 07:45:24 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2023-02-15 07:45:24 +0000
commitfc14ad27155e0bdd0e0c20be31bad7dfdf0a3122 (patch)
tree035efa3d847dcfcd5ca5d749fc302f54c82a18cf /document
parentc5fe5b6be07e57115cd72738a5afd928b0df60ef (diff)
- [[noreturn]] is standard.
- gnu printf format specification is defacto standard.
Diffstat (limited to 'document')
-rw-r--r--document/src/vespa/document/util/bytebuffer.cpp2
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)
{