mirror of
https://github.com/hyprwm/hyprlock.git
synced 2024-11-16 23:05:58 +01:00
core: fix libc++ compatibility (#75)
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: https://github.com/hyprwm/hyprlock/issues/43 Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
This commit is contained in:
parent
8969351cba
commit
57e8000660
1 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
#include <glob.h>
|
#include <glob.h>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
#include <mutex>
|
||||||
|
|
||||||
static Hyprlang::CParseResult handleSource(const char* c, const char* v) {
|
static Hyprlang::CParseResult handleSource(const char* c, const char* v) {
|
||||||
const std::string VALUE = v;
|
const std::string VALUE = v;
|
||||||
|
|
Loading…
Reference in a new issue