summaryrefslogtreecommitdiff
path: root/include/libcamera/internal/media_device.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/internal/media_device.h')
-rw-r--r--include/libcamera/internal/media_device.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/libcamera/internal/media_device.h b/include/libcamera/internal/media_device.h
index 6e2a63f3..eb8cfde4 100644
--- a/include/libcamera/internal/media_device.h
+++ b/include/libcamera/internal/media_device.h
@@ -38,9 +38,9 @@ public:
int populate();
bool isValid() const { return valid_; }
- const std::string driver() const { return driver_; }
- const std::string deviceNode() const { return deviceNode_; }
- const std::string model() const { return model_; }
+ const std::string &driver() const { return driver_; }
+ const std::string &deviceNode() const { return deviceNode_; }
+ const std::string &model() const { return model_; }
unsigned int version() const { return version_; }
unsigned int hwRevision() const { return hwRevision_; }