Skip to content

Add missing include in gislandmodel.hpp#26879

Merged
asmorkalov merged 2 commits intoopencv:4.xfrom
Malacath-92:4.x
Feb 6, 2025
Merged

Add missing include in gislandmodel.hpp#26879
asmorkalov merged 2 commits intoopencv:4.xfrom
Malacath-92:4.x

Conversation

@Malacath-92
Copy link
Copy Markdown
Contributor

Add <exception>, <string>, and <cstddef> 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

  • I agree to contribute to the project under Apache 2 License.
  • 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
  • The PR is proposed to the proper branch
  • 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

@asmorkalov asmorkalov added this to the 4.12.0 milestone Feb 6, 2025
@asmorkalov asmorkalov self-requested a review February 6, 2025 08:22
@asmorkalov asmorkalov self-assigned this Feb 6, 2025
@asmorkalov asmorkalov merged commit 7563ceb into opencv:4.x Feb 6, 2025
26 of 28 checks passed
@asmorkalov asmorkalov mentioned this pull request Feb 19, 2025
NanQin555 pushed a commit to NanQin555/opencv that referenced this pull request Feb 24, 2025
Add missing include in gislandmodel.hpp opencv#26879

Add `<exception>`, `<string>`, and `<cstddef>` 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: opencv#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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants