diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-07-25 02:17:48 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-08-03 10:55:30 +0300 |
commit | 91d06ae2fc6114d870ab76a05c1268a6ee417415 (patch) | |
tree | ea70db217c73895e7cc67bab1580702061519199 /utils | |
parent | 49862904f6cc707d300fab079ffe8173bf24d5d4 (diff) |
libcamera: file: Use Flags<> class for open flags
Use the newly introduced Flags<> class to store a bitfield of
File::OpenMode in a type-safe way. The existing File::OpenMode enum is
renamed to File::OpenModeFlag to free the File::OpenMode for the Flags<>
type alias.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions