diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-10-15 03:28:20 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-10-19 13:14:54 +0300 |
commit | 3b07397f0e7d93d54535d9c87e7b9c19d04c97f0 (patch) | |
tree | 59bcf3ee79c0f2d8d58a0aa8e9d48aa2fa4ee364 /utils/hooks/pre-push | |
parent | 5ae92dae5882f5450c647b4af95ef37ba0fded72 (diff) |
ipa: ipu3: agc: Remove "using" directive from agc.h header
"using" directives are harmful in headers, as they propagate the
namespace short-circuit to all files that include the header, directly
or indirectly. Drop the directive from agc.h, and use utils::Duration
explicitly. While at it, shorten the namespace qualifier from
libcamera::utils:: to utils:: in agc.cpp for Duration.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'utils/hooks/pre-push')
0 files changed, 0 insertions, 0 deletions