From 7563cebad50028f18a5c76a61f7a2f1460fcf161 Mon Sep 17 00:00:00 2001 From: Malacath-92 Date: Thu, 6 Feb 2025 11:34:46 +0100 Subject: [PATCH] Merge pull request #26879 from Malacath-92:4.x Add missing include in gislandmodel.hpp #26879 Add ``, ``, and `` includes to `gislandmodel.hpp` which are required due to the usage of `std::exception_ptr`, `std::string`, and `size_t` in this header. Notably one of those causes a build error on recent versions of Xcode: #26780 ### Pull Request Readiness Checklist See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [x] The PR is proposed to the proper branch - [x] There is a reference to the original bug report and related work - [N/A] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name. - [N/A] The feature is well documented and sample code can be built with the project CMake --- modules/gapi/src/compiler/gislandmodel.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/gapi/src/compiler/gislandmodel.hpp b/modules/gapi/src/compiler/gislandmodel.hpp index ade13a6f33..ebc6a68753 100644 --- a/modules/gapi/src/compiler/gislandmodel.hpp +++ b/modules/gapi/src/compiler/gislandmodel.hpp @@ -8,8 +8,11 @@ #ifndef OPENCV_GAPI_GISLANDMODEL_HPP #define OPENCV_GAPI_GISLANDMODEL_HPP -#include +#include // unordered_map #include // shared_ptr +#include // exception_ptr +#include // string +#include // size_t #include #include