소스 검색

Add type_traits include for `std::is_trivially_destructible`

(cherry picked from commit 3d46f2855860e93f1cd7d8cd73a35fe34bac64dd)
Rémi Verschelde 4 년 전
부모
커밋
10e86bc017
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      core/safe_refcount.h

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