From 4dd5456fb352fad9a81034a067d572f2a1ba4dd8 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Wed, 6 Nov 2019 15:31:32 +0200 Subject: card: remove useless consts --- kms++/inc/kms++/card.h | 12 ++++++------ kms++/src/card.cpp | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'kms++') 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 get_connectors() const { return m_connectors; } - const std::vector get_encoders() const { return m_encoders; } - const std::vector get_crtcs() const { return m_crtcs; } - const std::vector get_planes() const { return m_planes; } - const std::vector get_properties() const { return m_properties; } + std::vector get_connectors() const { return m_connectors; } + std::vector get_encoders() const { return m_encoders; } + std::vector get_crtcs() const { return m_crtcs; } + std::vector get_planes() const { return m_planes; } + std::vector get_properties() const { return m_properties; } - const std::vector get_objects() const; + std::vector get_objects() const; std::vector 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 Card::get_objects() const +std::vector Card::get_objects() const { vector v; for(auto pair : m_obmap) -- cgit v1.2.3