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`
This commit is contained in:
Yukio Siraichi 2018-08-24 13:37:45 +02:00 committed by Patrick Ziegler
parent 676d9d7e1a
commit 0ae4de7d1e
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@
POLYBAR_NS
namespace cursor_util {
static const map<string, vector<string>> cursors = {
static const std::map<string, vector<string>> 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"}}