diff options
-rw-r--r-- | vespalib/src/vespa/vespalib/datastore/array_store.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalib/src/vespa/vespalib/datastore/array_store.h b/vespalib/src/vespa/vespalib/datastore/array_store.h index 95d632d9603..48f61660cb3 100644 --- a/vespalib/src/vespa/vespalib/datastore/array_store.h +++ b/vespalib/src/vespa/vespalib/datastore/array_store.h @@ -70,7 +70,7 @@ public: ~ArrayStore() override; EntryRef add(const ConstArrayRef &array); ConstArrayRef get(EntryRef ref) const { - if (!ref.valid()) { + if (!ref.valid()) [[unlikely]] { return ConstArrayRef(); } RefT internalRef(ref); |