diff options
author | Louis Dionne <ldionne@apple.com> | 2020-11-12 00:50:43 +0300 |
---|---|---|
committer | Louis Dionne <ldionne@apple.com> | 2020-11-12 00:58:32 +0300 |
commit | a7b65741441556d295079fc4f2391d99fd1c1111 (patch) | |
tree | 8b2e08776f327745675bfc6aafdac9e16bdf96dd /libcxxabi/src/stdlib_stdexcept.cpp | |
parent | 67b13e9785ed171deea92d7c21a8947a6ce61f57 (diff) |
[libc++abi] Reuse libc++'s refstring.h header instead of copying it
This has been a long-standing TODO item, however we have now been requiring
a monorepo layout to build libc++ and libc++abi for a while now. Hence,
we can fix this code duplication issue now.
Note that it's still not super pretty to reach into libc++ to include
headers, but it's better than having duplicated code which can get out
of sync.
Diffstat (limited to 'libcxxabi/src/stdlib_stdexcept.cpp')
-rw-r--r-- | libcxxabi/src/stdlib_stdexcept.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxxabi/src/stdlib_stdexcept.cpp b/libcxxabi/src/stdlib_stdexcept.cpp index 2cff8ee2f083..4a464e48893d 100644 --- a/libcxxabi/src/stdlib_stdexcept.cpp +++ b/libcxxabi/src/stdlib_stdexcept.cpp @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -#include "include/refstring.h" +#include "../../libcxx/src/include/refstring.h" #include "stdexcept" #include "new" #include <cstdlib> |