Skip to content

Commit 0c27db0

Browse files
committed
Remove 'requires' that make build error on gcc 15 with lambda
1 parent ac8456e commit 0c27db0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/xtd.core/include/xtd/runtime/exception_services/exception_dispatch_info.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ namespace xtd {
9292

9393
private:
9494
template<class exception_t>
95-
requires std::derived_from<exception_t, xtd::exception>
9695
exception_dispatch_info(const exception_t& source) : source_ {source.template memberwise_clone<exception_t>().release()}, exception_ptr_ {std::make_exception_ptr(source)} {}
9796
exception_dispatch_info(const std::exception_ptr& exception_ptr) : exception_ptr_ {exception_ptr} {}
9897

0 commit comments

Comments
 (0)