]> git.tdb.fi Git - libs/gui.git/blobdiff - source/input/hub.h
Go back to using vector to store devices in a Hub
[libs/gui.git] / source / input / hub.h
index 31eeb94bf5dfb220c793d73d6cff533b345204e5..b89196ecae793a5b9704e506dc6063263e1259b1 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef MSP_INPUT_INPUTHUB_H_
 #define MSP_INPUT_INPUTHUB_H_
 
-#include <map>
+#include <vector>
 #include <sigc++/trackable.h>
 #include "device.h"
 
@@ -15,7 +15,7 @@ aggregate of them.  Button and axis numbers are mapped to unique values.
 class Hub: public Device, public sigc::trackable
 {
 protected:
-       std::map<unsigned, Device *> devices;
+       std::vector<Device *> devices;
 
 public:
        Hub();