diff options
Diffstat (limited to 'dev-qt/qt-creator/files/qt-creator-14.0.1-sol2-clang19-gcc15.patch')
-rw-r--r-- | dev-qt/qt-creator/files/qt-creator-14.0.1-sol2-clang19-gcc15.patch | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/dev-qt/qt-creator/files/qt-creator-14.0.1-sol2-clang19-gcc15.patch b/dev-qt/qt-creator/files/qt-creator-14.0.1-sol2-clang19-gcc15.patch deleted file mode 100644 index 29e600ca33ef..000000000000 --- a/dev-qt/qt-creator/files/qt-creator-14.0.1-sol2-clang19-gcc15.patch +++ /dev/null @@ -1,18 +0,0 @@ -https://bugs.gentoo.org/938486 -https://bugs.gentoo.org/937600 -https://bugs.gentoo.org/936924 -https://bugreports.qt.io/browse/QTCREATORBUG-31517 -https://github.com/ThePhD/sol2/commit/d805d027e0a0a7222e936926139f06e23828ce9f -https://codereview.qt-project.org/c/qt-creator/qt-creator/+/587620 ---- a/src/libs/3rdparty/sol2/include/sol/sol.hpp -+++ b/src/libs/3rdparty/sol2/include/sol/sol.hpp -@@ -6818,7 +6818,8 @@ - static_assert(std::is_constructible<T, Args&&...>::value, "T must be constructible with Args"); - - *this = nullopt; -- this->construct(std::forward<Args>(args)...); -+ new (static_cast<void*>(this)) optional(std::in_place, std::forward<Args>(args)...); -+ return **this; - } - - /// Swaps this optional with the other. |