From 3b32f5899a4d9a0bcb49099ee4bfee750366a3e6 Mon Sep 17 00:00:00 2001 From: patrick96 Date: Mon, 15 Oct 2018 17:24:27 +0200 Subject: [PATCH] fix: Move return value of parse_layout_symbol Fixes #1469 --- src/x11/extensions/xkb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x11/extensions/xkb.cpp b/src/x11/extensions/xkb.cpp index 1875c585..a521b935 100644 --- a/src/x11/extensions/xkb.cpp +++ b/src/x11/extensions/xkb.cpp @@ -208,7 +208,7 @@ namespace xkb_util { if (string_util::contains(LAYOUT_SYMBOL_BLACKLIST, ";" + name + ";")) { return ""; } - return name; + return move(name); } }