2021-08-09 18:31:50 +00:00
|
|
|
From 2586ab946f1e22891345c86e7f673bb11989e427 Mon Sep 17 00:00:00 2001
|
2021-02-17 20:33:49 +00:00
|
|
|
From: Tom Stellard <tstellar@redhat.com>
|
|
|
|
Date: Wed, 17 Feb 2021 12:50:08 -0800
|
2021-08-09 18:31:50 +00:00
|
|
|
Subject: [PATCH 1/2] Include refstring.h from system includedir
|
2021-02-17 20:33:49 +00:00
|
|
|
|
|
|
|
---
|
2021-08-09 18:31:50 +00:00
|
|
|
libcxxabi/src/stdlib_stdexcept.cpp | 3 +--
|
|
|
|
1 file changed, 1 insertion(+), 2 deletions(-)
|
2021-02-17 20:33:49 +00:00
|
|
|
|
|
|
|
diff --git a/libcxxabi/src/stdlib_stdexcept.cpp b/libcxxabi/src/stdlib_stdexcept.cpp
|
2021-08-09 18:31:50 +00:00
|
|
|
index 0ca378dcde01..d2daf40173c0 100644
|
2021-02-17 20:33:49 +00:00
|
|
|
--- a/libcxxabi/src/stdlib_stdexcept.cpp
|
|
|
|
+++ b/libcxxabi/src/stdlib_stdexcept.cpp
|
2021-08-09 18:31:50 +00:00
|
|
|
@@ -13,8 +13,7 @@
|
|
|
|
#include <cstdint>
|
|
|
|
#include <cstddef>
|
2021-02-17 20:33:49 +00:00
|
|
|
|
2021-08-09 18:31:50 +00:00
|
|
|
-// This includes an implementation file from libc++.
|
|
|
|
-#include "src/include/refstring.h"
|
2021-02-17 20:33:49 +00:00
|
|
|
+#include <libcxx-internal/refstring.h>
|
2021-08-09 18:31:50 +00:00
|
|
|
|
|
|
|
static_assert(sizeof(std::__libcpp_refstring) == sizeof(const char *), "");
|
|
|
|
|
2021-02-17 20:33:49 +00:00
|
|
|
--
|
2021-08-09 18:31:50 +00:00
|
|
|
2.27.0
|
2021-02-17 20:33:49 +00:00
|
|
|
|