summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2021-04-22 16:23:13 +0200
committerRémi Verschelde <rverschelde@gmail.com>2021-04-22 16:23:55 +0200
commit3d46f2855860e93f1cd7d8cd73a35fe34bac64dd (patch)
tree377366de6248a5fec9e3a837b83faa9ea98bac3a
parent77a876c6e1c9eb60abbd9ad6f6ba6d9bc0af14e1 (diff)
Add type_traits include for `std::is_trivially_destructible`
-rw-r--r--core/templates/safe_refcount.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/templates/safe_refcount.h b/core/templates/safe_refcount.h
index 91a34ecd54..e9e5695f80 100644
--- a/core/templates/safe_refcount.h
+++ b/core/templates/safe_refcount.h
@@ -36,6 +36,7 @@
#if !defined(NO_THREADS)
#include <atomic>
+#include <type_traits>
// Design goals for these classes:
// - No automatic conversions or arithmetic operators,