Преглед на файлове

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 години
родител
ревизия
c7b97f077a
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      core/templates/safe_refcount.h

+ 1 - 0
core/templates/safe_refcount.h

@@ -36,6 +36,7 @@
 #if !defined(NO_THREADS)
 #if !defined(NO_THREADS)
 
 
 #include <atomic>
 #include <atomic>
+#include <type_traits>
 
 
 // Design goals for these classes:
 // Design goals for these classes:
 // - No automatic conversions or arithmetic operators,
 // - No automatic conversions or arithmetic operators,