summaryrefslogtreecommitdiffstats
path: root/util/system/guard.h
diff options
context:
space:
mode:
authoreeight <[email protected]>2022-05-17 10:20:05 +0300
committereeight <[email protected]>2022-05-17 10:20:05 +0300
commitf3ec69ca4abe595abc22fe786710538cfc9b016a (patch)
tree02f8e499b2bcfbe70a927dc23801ce2264110688 /util/system/guard.h
parent7f57a1b674d2b1cd7b35ed078e00e3b656e7f25f (diff)
IGNIETFERRO-1105 Use std::atomic in spinlock
ref:dca14f354fc9b9698f83663ceb0e62e797fe98c5
Diffstat (limited to 'util/system/guard.h')
-rw-r--r--util/system/guard.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/system/guard.h b/util/system/guard.h
index efc091d5f8d..b6ca45fff67 100644
--- a/util/system/guard.h
+++ b/util/system/guard.h
@@ -1,6 +1,7 @@
#pragma once
#include <util/generic/noncopyable.h>
+#include <util/system/defaults.h>
template <class T>
struct TCommonLockOps {