diff options
author | Vaxry <[email protected]> | 2024-11-28 14:31:38 +0000 |
---|---|---|
committer | Vaxry <[email protected]> | 2024-11-28 14:31:43 +0000 |
commit | 8b51eeb7aef8b25de35a0d460f28f4d67c017866 (patch) | |
tree | 8917fb18dc8642f01576040c370c34499352856f | |
parent | 5329298b522e3cc1201894909443775b00aeb336 (diff) | |
download | Hyprland-8b51eeb7aef8b25de35a0d460f28f4d67c017866.tar.gz Hyprland-8b51eeb7aef8b25de35a0d460f28f4d67c017866.zip |
core: fix compilation outside stdlibc++
fixes #8603
-rw-r--r-- | src/managers/KeybindManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index a5327149..7f10249a 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -2988,13 +2988,13 @@ SDispatchResult CKeybindManager::setProp(std::string args) { else configStringToInt(TOKEN).and_then([&colorData](const auto& e) { colorData.m_vColors.push_back(e); - return std::result_of<decltype (&configStringToInt)(std::string)>::type(1); + return std::invoke_result_t<decltype(::configStringToInt), const std::string&>(1); }); } } else if (VAL != "-1") configStringToInt(VAL).and_then([&colorData](const auto& e) { colorData.m_vColors.push_back(e); - return std::result_of<decltype (&configStringToInt)(std::string)>::type(1); + return std::invoke_result_t<decltype(::configStringToInt), const std::string&>(1); }); if (PROP == "activebordercolor") |