summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-04-22 17:15:55 +0200
committerGitHub <noreply@github.com>2021-04-22 17:15:55 +0200
commitc7b97f077a0f62d9e280adbddddc901f35e4f40f (patch)
treee5334a8005126d83c77a502e615e7420f3bdb32a /core
parent4753b309a89036f76dabed4d66227e006a460e1c (diff)
parent3d46f2855860e93f1cd7d8cd73a35fe34bac64dd (diff)
Merge pull request #48095 from akien-mga/safe_refcount-include-type_traits
Add type_traits include for `std::is_trivially_destructible`
Diffstat (limited to 'core')
-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,