diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2022-10-18 04:26:40 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2022-10-18 04:26:40 +0000 |
commit | 10aea5a2af0b8dc497f9e2735c1a1981b0199831 (patch) | |
tree | 82e1b6942f723f09013eab665b5407e7b8cf21bc | |
parent | 090412d53334ac8e29f5d2f1d337582c41a20fd4 (diff) |
Ref [[unlikely]] not valid.
-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); |