| commit | 54b409fdb9489b305bf95f4d4f52b49c7926c429 | [log] [tgz] |
|---|---|---|
| author | Howard Hinnant <hhinnant@apple.com> | Wed Aug 11 17:04:31 2010 +0000 |
| committer | Howard Hinnant <hhinnant@apple.com> | Wed Aug 11 17:04:31 2010 +0000 |
| tree | 4e1c893fe8a940ea767c4eef990dff879fcbbd25 | |
| parent | 37aab7674a74dd0224b14976e91f89abe48e9ae9 [diff] [blame] |
now works with -fno-exceptions and -fno-rtti llvm-svn: 110828
diff --git a/libcxx/src/memory.cpp b/libcxx/src/memory.cpp index f35b838..2caa12b 100644 --- a/libcxx/src/memory.cpp +++ b/libcxx/src/memory.cpp
@@ -107,12 +107,16 @@ return 0; } +#ifndef _LIBCPP_NO_RTTI + const void* __shared_weak_count::__get_deleter(const type_info&) const { return 0; } +#endif + void declare_reachable(void*) {