summaryrefslogtreecommitdiff
path: root/Documentation/coding-style.rst
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-01-27 15:39:26 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-01-31 11:03:21 +0200
commit92d9df69243000082559084a6fba2929cc18cc83 (patch)
tree1d6c2e87d380749574545cbf70fb1b2ee8a215a9 /Documentation/coding-style.rst
parent5745bd3df519ed3064b2e8d308b90834272504b8 (diff)
libcamera: camera: Fix operator= definition
The class assignment operator is usually defined as returning a reference to the object, to allow a = b = c statements. While the return type makes no difference when deleting the operator in a class definition, it's still a good practice to use the correct return type. Fix it in the Camera and CameraManager classes. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'Documentation/coding-style.rst')
0 files changed, 0 insertions, 0 deletions