Skip to content

Commit 286a6bc

Browse files
mordantecopybara-github
authored andcommitted
[libc++][modules] Fixes RTTI build.
This was reviewed in llvm/llvm-project#76246 NOKEYCHECK=True GitOrigin-RevId: ab398416a7932d9b85e216353b7c847189c1a597
1 parent 75a94d2 commit 286a6bc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/std/memory.inc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,9 @@ export namespace std {
156156
using std::reinterpret_pointer_cast;
157157
using std::static_pointer_cast;
158158

159+
#ifndef _LIBCPP_HAS_NO_RTTI
159160
using std::get_deleter;
161+
#endif // _LIBCPP_HAS_NO_RTTI
160162

161163
// [util.smartptr.shared.io], shared_ptr I/O
162164

0 commit comments

Comments
 (0)