aboutsummaryrefslogtreecommitdiff
path: root/zenserver/cache/structuredcachestore.h
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-04-07 22:20:35 +0200
committerDan Engelbrecht <[email protected]>2022-04-12 22:20:47 +0200
commit4e7d13b038bda5806647530ddfca9de825001a5f (patch)
tree8fe5f4c28a7bd8c80aaeb7e914e774190e0bdc76 /zenserver/cache/structuredcachestore.h
parentstructured cache with block store (diff)
downloadzen-4e7d13b038bda5806647530ddfca9de825001a5f.tar.xz
zen-4e7d13b038bda5806647530ddfca9de825001a5f.zip
cleaner GatherReferences
Diffstat (limited to 'zenserver/cache/structuredcachestore.h')
-rw-r--r--zenserver/cache/structuredcachestore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zenserver/cache/structuredcachestore.h b/zenserver/cache/structuredcachestore.h
index 91ac00f35..8e8b6ee78 100644
--- a/zenserver/cache/structuredcachestore.h
+++ b/zenserver/cache/structuredcachestore.h
@@ -274,7 +274,7 @@ private:
IndexEntry(IndexEntry&& E) : Location(std::move(E.Location)), LastAccess(E.LastAccess.load(std::memory_order_relaxed)) {}
IndexEntry& operator=(const IndexEntry& E) { return *this = IndexEntry(E); }
- IndexEntry& operator=(IndexEntry&& E)
+ IndexEntry& operator=(IndexEntry&& E) noexcept
{
Location = std::move(E.Location);
LastAccess.store(E.LastAccess.load(), std::memory_order_relaxed);