diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2019-11-06 15:31:32 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2019-11-06 17:16:23 +0200 |
commit | 4dd5456fb352fad9a81034a067d572f2a1ba4dd8 (patch) | |
tree | 6050802da1cbc2b113dead83b1c4980fd29a824f | |
parent | 77c1805d043b8b7692eb5aaae3732c4bd1e7af76 (diff) |
card: remove useless consts
-rw-r--r-- | kms++/inc/kms++/card.h | 12 | ||||
-rw-r--r-- | kms++/src/card.cpp | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/kms++/inc/kms++/card.h b/kms++/inc/kms++/card.h index e734689..e561ffc 100644 --- a/kms++/inc/kms++/card.h +++ b/kms++/inc/kms++/card.h @@ -50,13 +50,13 @@ public: bool has_dumb_buffers() const { return m_has_dumb; } bool has_kms() const; - const std::vector<Connector*> get_connectors() const { return m_connectors; } - const std::vector<Encoder*> get_encoders() const { return m_encoders; } - const std::vector<Crtc*> get_crtcs() const { return m_crtcs; } - const std::vector<Plane*> get_planes() const { return m_planes; } - const std::vector<Property*> get_properties() const { return m_properties; } + std::vector<Connector*> get_connectors() const { return m_connectors; } + std::vector<Encoder*> get_encoders() const { return m_encoders; } + std::vector<Crtc*> get_crtcs() const { return m_crtcs; } + std::vector<Plane*> get_planes() const { return m_planes; } + std::vector<Property*> get_properties() const { return m_properties; } - const std::vector<DrmObject*> get_objects() const; + std::vector<DrmObject*> get_objects() const; std::vector<Pipeline> get_connected_pipelines(); diff --git a/kms++/src/card.cpp b/kms++/src/card.cpp index 1509a98..a35b277 100644 --- a/kms++/src/card.cpp +++ b/kms++/src/card.cpp @@ -296,7 +296,7 @@ DrmObject* Card::get_object(uint32_t id) const return nullptr; } -const vector<DrmObject*> Card::get_objects() const +std::vector<kms::DrmObject*> Card::get_objects() const { vector<DrmObject*> v; for(auto pair : m_obmap) |