ports/devel/electron31/files/patch-electron_shell_common_keyboard__util.cc
Guido Falsi 2457237c15 devel/electron31: fix build with clang 19
PR:		282370
Reported by:	madpilot
MFH:		2024Q4
2024-11-02 05:51:19 +09:00

11 lines
499 B
C++

--- electron/shell/common/keyboard_util.cc.orig 2024-10-23 21:18:11 UTC
+++ electron/shell/common/keyboard_util.cc
@@ -16,7 +16,7 @@ using CodeAndShiftedChar = std::pair<ui::KeyboardCode,
using CodeAndShiftedChar = std::pair<ui::KeyboardCode, std::optional<char16_t>>;
-constexpr CodeAndShiftedChar KeyboardCodeFromKeyIdentifier(
+CodeAndShiftedChar KeyboardCodeFromKeyIdentifier(
const std::string_view str) {
#if BUILDFLAG(IS_MAC)
constexpr auto CommandOrControl = ui::VKEY_COMMAND;