diff options
author | Naushir Patuck <naush@raspberrypi.com> | 2023-05-03 13:20:33 +0100 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2023-05-04 20:59:24 +0300 |
commit | fd29edccaecdc9efa31869ac9331795e5956992f (patch) | |
tree | 984e85791673b1c774053e2e755b51cf1503207e /test/media_device/media_device_acquire.cpp | |
parent | 503bebd0ed80886569629e7ce11d40fa28721c84 (diff) |
pipeline: raspberrypi: Make RPi::Stream::name() return const std::string &
Return a const std::string reference from RPi::Stream::name() to avoid
copying a string when not needed.
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/media_device/media_device_acquire.cpp')
0 files changed, 0 insertions, 0 deletions