mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-24 00:55:07 +03:00
base: class: Remove undesired semi-colon from LIBCAMERA_O_PTR
The LIBCAMERA_O_PTR() define adds the ';' at the end of the templated call to _o(). While this works for the only current user in camera_manager.cpp, even the statement there adds another semi-colon following it. The addition of the semi-colon in the define unnecessarily prohibits the macro from being used in places other than the end of a statement. Remove it. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
643cc403fe
commit
b1d818beb4
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ public: \
|
|||
using Public = klass;
|
||||
|
||||
#define LIBCAMERA_O_PTR() \
|
||||
_o<Public>();
|
||||
_o<Public>()
|
||||
|
||||
#else
|
||||
#define LIBCAMERA_DECLARE_PRIVATE()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue