From ace1eacb24340d17951178093ba018915fdca285 Mon Sep 17 00:00:00 2001 From: Lendemor Date: Mon, 8 Jan 2018 12:07:09 +0100 Subject: [PATCH] small fix : IKeysMap data() function return a ref to the keys map --- src/keybindings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keybindings.h b/src/keybindings.h index 9169c21..65e0f57 100644 --- a/src/keybindings.h +++ b/src/keybindings.h @@ -42,7 +42,7 @@ public: enum {PRESSED, RELEASED, HOLD}; IKeysMap(); std::vector getBindings(Action action) const; - std::vector data(){return keys;} + std::vector& data(){return keys;} protected: std::vector keys; };