aboutsummaryrefslogtreecommitdiff
path: root/games/openmw/files/patch-extern_sol3_sol_optional__implementation.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'games/openmw/files/patch-extern_sol3_sol_optional__implementation.hpp')
-rw-r--r--games/openmw/files/patch-extern_sol3_sol_optional__implementation.hpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/games/openmw/files/patch-extern_sol3_sol_optional__implementation.hpp b/games/openmw/files/patch-extern_sol3_sol_optional__implementation.hpp
deleted file mode 100644
index ac31cf924f51..000000000000
--- a/games/openmw/files/patch-extern_sol3_sol_optional__implementation.hpp
+++ /dev/null
@@ -1,12 +0,0 @@
---- extern/sol3/sol/optional_implementation.hpp.orig 2023-08-08 09:23:20 UTC
-+++ extern/sol3/sol/optional_implementation.hpp
-@@ -2191,7 +2191,8 @@ namespace sol {
- 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.