Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

[qt] Fix missing std::move when building on macOS with Xcode 14.3 #16673

Open
wants to merge 1 commit into
base: qt-staging
Choose a base branch
from

Conversation

alcroito
Copy link

Newer macos SDK shipped with Xcode 14.3 has likely re-ordered their include headers, which means std::move is not
available anymore via the includes that unique_any.hpp has.

Explicitly include the utility header to make std::move available.

Launch Checklist

  • briefly describe the changes in this PR

Apparently the utility header was implicitly included in unique_any.hpp
but that doesn't happen anymore with the SDK shipped with Xcode 14.3,
and leads to compilation failures.

Explicitly include the utility header to make std::move available.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant