summaryrefslogtreecommitdiff
path: root/Documentation/theme/theme.conf
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-05-21 22:16:23 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-05-23 11:54:39 +0300
commit1f32abb995a04b7c67af6d923fea82436e817de1 (patch)
tree257edb05de72a0c6eb5bfd2786a7612afc1cd908 /Documentation/theme/theme.conf
parent8d846ed8a7d9d7c9783472a618a7f369f0843e67 (diff)
libcamera: camera: Simplify create() implementation
Now that the Camera class inherits from std::enable_shared_from_this, we don't need to use std::allocate_shared anymore and can simplify the Camera::create() implementation. This fixes compilation with recent versions of libc++ whose std::allocate_shared implementation isn't compatible with classes that are not publicly constructible. The custom allocator is removed, but a custom deleter is needed as the Camera destructor is private. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'Documentation/theme/theme.conf')
0 files changed, 0 insertions, 0 deletions