small fix : IKeysMap data() function return a ref to the keys map
This commit is contained in:
parent
527f63522f
commit
ace1eacb24
@ -42,7 +42,7 @@ public:
|
|||||||
enum {PRESSED, RELEASED, HOLD};
|
enum {PRESSED, RELEASED, HOLD};
|
||||||
IKeysMap();
|
IKeysMap();
|
||||||
std::vector<Binding> getBindings(Action action) const;
|
std::vector<Binding> getBindings(Action action) const;
|
||||||
std::vector<Binding> data(){return keys;}
|
std::vector<Binding>& data(){return keys;}
|
||||||
protected:
|
protected:
|
||||||
std::vector<Binding> keys;
|
std::vector<Binding> keys;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user