Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix libc++ compatibility v2 #75

Merged
merged 1 commit into from
Feb 24, 2024
Merged

fix libc++ compatibility v2 #75

merged 1 commit into from
Feb 24, 2024

Conversation

MrDuartePT
Copy link
Contributor

@MrDuartePT MrDuartePT commented Feb 23, 2024

Fixes #73. Tested with Clang/libc++ 17 and 18

@MrDuartePT MrDuartePT changed the title fix libc++ compatibility fix libc++ compatibility v2 Feb 23, 2024
@MrDuartePT MrDuartePT mentioned this pull request Feb 23, 2024
src/config/ConfigManager.cpp:91:6: error: no type named 'mutex' in namespace 'std'
   91 | std::mutex   configMtx;
      | ~~~~~^
src/config/ConfigManager.cpp:94:10: error: no member named 'lock_guard' in namespace 'std'
   94 |     std::lock_guard<std::mutex> lg(configMtx);
      |     ~~~~~^
/var/tmp/portage/gui-apps/hyprlock-9999/work/hyprlock-9999/src/config/ConfigManager.cpp:94:26: error: no member named 'mutex' in namespace 'std'
   94 |     std::lock_guard<std::mutex> lg(configMtx);
      |                     ~~~~~^

Closes: hyprwm#43
Signed-off-by: Gonçalo Negrier Duarte <[email protected]>
Copy link
Member

@vaxerski vaxerski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool, thanks!

@vaxerski vaxerski merged commit 57e8000 into hyprwm:main Feb 24, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants