mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-24 17:15:07 +03:00
libcamera: controls: Move ControlValue size check to controls.cpp
The size of the ControlValue class is checked by a static_assert() to avoid accidental ABI breakages. There's no need to perform the check every time controls.h is included, move it to controls.cpp. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
79fbecea45
commit
916df9e38d
2 changed files with 2 additions and 2 deletions
|
@ -188,8 +188,6 @@ private:
|
|||
std::size_t numElements, std::size_t elementSize);
|
||||
};
|
||||
|
||||
static_assert(sizeof(ControlValue) == 16, "Invalid size of ControlValue class");
|
||||
|
||||
class ControlId
|
||||
{
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue