diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2017-11-22 10:09:30 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2017-11-22 12:47:15 +0200 |
commit | 75e85e48c35f9e18a974af1c1e973d9482ed1fc4 (patch) | |
tree | b5d30658dc4fb16ae5d82d452bfe648abcd3dab3 /kms++util/inc | |
parent | a4724a1dae7a877ae7bb7082b068bbb12032ff63 (diff) |
resman: use set<> instead of vector<>
Diffstat (limited to 'kms++util/inc')
-rw-r--r-- | kms++util/inc/kms++util/resourcemanager.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kms++util/inc/kms++util/resourcemanager.h b/kms++util/inc/kms++util/resourcemanager.h index 002b4c9..1b5cf21 100644 --- a/kms++util/inc/kms++util/resourcemanager.h +++ b/kms++util/inc/kms++util/resourcemanager.h @@ -1,5 +1,5 @@ #include <kms++/kms++.h> -#include <vector> +#include <set> #include <string> namespace kms { @@ -24,9 +24,9 @@ public: private: Card& m_card; - std::vector<Connector*> m_reserved_connectors; - std::vector<Crtc*> m_reserved_crtcs; - std::vector<Plane*> m_reserved_planes; + std::set<Connector*> m_reserved_connectors; + std::set<Crtc*> m_reserved_crtcs; + std::set<Plane*> m_reserved_planes; }; } |