aboutsummaryrefslogtreecommitdiff
path: root/zenstore/include
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2022-01-07 13:01:43 +0100
committerMartin Ridgers <[email protected]>2022-01-07 13:55:27 +0100
commit4558d1f477830ce52054669ab8f33838f3c90c79 (patch)
tree6f5418451d93d2dd230abaaf7f6ac0f5d7e857f7 /zenstore/include
parentMissing override decoration (diff)
downloadzen-4558d1f477830ce52054669ab8f33838f3c90c79.tar.xz
zen-4558d1f477830ce52054669ab8f33838f3c90c79.zip
Apple Clang does not implement std::jthread
Diffstat (limited to 'zenstore/include')
-rw-r--r--zenstore/include/zenstore/gc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zenstore/include/zenstore/gc.h b/zenstore/include/zenstore/gc.h
index 1540b66c2..b8ba338f0 100644
--- a/zenstore/include/zenstore/gc.h
+++ b/zenstore/include/zenstore/gc.h
@@ -204,7 +204,7 @@ private:
GcClock::TimePoint m_LastGcTime{};
GcClock::TimePoint m_NextGcTime{};
std::atomic_uint32_t m_Status{};
- std::jthread m_GcThread;
+ std::thread m_GcThread;
std::mutex m_GcMutex;
std::condition_variable m_GcSignal;
std::optional<TriggerParams> m_TriggerParams;