treewide: Remove top-level const from return types
Top-level `const` qualifiers are not useful, so avoid them. This is done either by simply removing the top-level `const`, or making the function return a reference to const where that is appropriate. Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com>
This commit is contained in:
+2
-2
@@ -97,9 +97,9 @@ public:
|
||||
|
||||
bool isImmutable() const { return flags_ & DRM_MODE_PROP_IMMUTABLE; }
|
||||
|
||||
const std::vector<uint64_t> values() const { return values_; }
|
||||
const std::vector<uint64_t> &values() const { return values_; }
|
||||
const std::map<uint32_t, std::string> &enums() const { return enums_; }
|
||||
const std::vector<uint32_t> blobs() const { return blobs_; }
|
||||
const std::vector<uint32_t> &blobs() const { return blobs_; }
|
||||
|
||||
private:
|
||||
Type type_;
|
||||
|
||||
Reference in New Issue
Block a user