From 0ae4de7d1e9b368f65a827451bca8548822d0699 Mon Sep 17 00:00:00 2001 From: Yukio Siraichi Date: Fri, 24 Aug 2018 13:37:45 +0200 Subject: [PATCH] fix(compiling): map variable without namespace. (#1395) If polybar is compiled with `-xkb +xcursor`, `cursor.hpp` doesn't include `using std::map`, which is located in `xkb.hpp` --- include/x11/cursor.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/x11/cursor.hpp b/include/x11/cursor.hpp index 514aa1eb..84c33257 100644 --- a/include/x11/cursor.hpp +++ b/include/x11/cursor.hpp @@ -15,7 +15,7 @@ POLYBAR_NS namespace cursor_util { - static const map> cursors = { + static const std::map> cursors = { {"pointer", {"pointing_hand", "pointer", "hand", "hand1", "hand2", "e29285e634086352946a0e7090d73106", "9d800788f1b08800ae810202380a0822"}}, {"default", {"left_ptr", "arrow", "dnd-none", "op_left_arrow"}}, {"ns-resize", {"size_ver", "sb_v_double_arrow", "v_double_arrow", "n-resize", "s-resize", "col-resize", "top_side", "bottom_side", "base_arrow_up", "base_arrow_down", "based_arrow_down", "based_arrow_up", "00008160000006810000408080010102"}}