From 75e85e48c35f9e18a974af1c1e973d9482ed1fc4 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Wed, 22 Nov 2017 10:09:30 +0200 Subject: resman: use set<> instead of vector<> --- kms++util/inc/kms++util/resourcemanager.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kms++util/inc') 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 -#include +#include #include namespace kms { @@ -24,9 +24,9 @@ public: private: Card& m_card; - std::vector m_reserved_connectors; - std::vector m_reserved_crtcs; - std::vector m_reserved_planes; + std::set m_reserved_connectors; + std::set m_reserved_crtcs; + std::set m_reserved_planes; }; } -- cgit v1.2.3