aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src
diff options
context:
space:
mode:
Diffstat (limited to 'vespalib/src')
-rw-r--r--vespalib/src/vespa/vespalib/util/generationhandler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalib/src/vespa/vespalib/util/generationhandler.h b/vespalib/src/vespa/vespalib/util/generationhandler.h
index 69dc17cacb1..7d4b00823fa 100644
--- a/vespalib/src/vespa/vespalib/util/generationhandler.h
+++ b/vespalib/src/vespa/vespalib/util/generationhandler.h
@@ -39,7 +39,7 @@ public:
void setValid() noexcept;
bool setInvalid() noexcept;
void release() noexcept {
- _refCount.fetch_sub(2, std::memory_order_acq_rel);
+ _refCount.fetch_sub(2, std::memory_order_release);
}
GenerationHold *acquire() noexcept;
static GenerationHold *copy(GenerationHold *self) noexcept;