[libcxx-commits] [libcxx] c341d50 - [libc++] Add missing include in exception_ptr.h

Hans Wennborg via libcxx-commits libcxx-commits at lists.llvm.org
Mon Mar 13 07:22:52 PDT 2023


Author: Hans Wennborg
Date: 2023-03-13T15:22:38+01:00
New Revision: c341d50305032e6bc4b482f345f6ed6d5eaf13db

URL: https://github.com/llvm/llvm-project/commit/c341d50305032e6bc4b482f345f6ed6d5eaf13db
DIFF: https://github.com/llvm/llvm-project/commit/c341d50305032e6bc4b482f345f6ed6d5eaf13db.diff

LOG: [libc++] Add missing include in exception_ptr.h

Windows builds were failing due to missing include for std::addressof
after D145095.

Differential revision: https://reviews.llvm.org/D145919

Added: 
    

Modified: 
    libcxx/include/__exception/exception_ptr.h

Removed: 
    


################################################################################
diff  --git a/libcxx/include/__exception/exception_ptr.h b/libcxx/include/__exception/exception_ptr.h
index 9c77ebf74d515..cac4a887d5a7c 100644
--- a/libcxx/include/__exception/exception_ptr.h
+++ b/libcxx/include/__exception/exception_ptr.h
@@ -11,6 +11,7 @@
 
 #include <__config>
 #include <__exception/operations.h>
+#include <__memory/addressof.h>
 #include <cstddef>
 #include <cstdlib>
 


        


More information about the libcxx-commits mailing list