Browse Source

Merge pull request #48095 from akien-mga/safe_refcount-include-type_traits

Add type_traits include for `std::is_trivially_destructible`
Rémi Verschelde 4 years ago
parent
commit
c7b97f077a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      core/templates/safe_refcount.h

+ 1 - 0
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,