mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-12 23:09:45 +03:00
libcamera: internal: request: convert to pragma once
Remove the verbose #ifndef/#define/#endif pattern for maintaining
header idempotency, and replace it with a simple #pragma once.
This simplifies the headers, and prevents redundant changes when
header files get moved.
The internal/request.h was missed at the time of the original
conversion. Update it.
Fixes: df131ad088
("libcamera: internal: Convert to pragma once")
Tested-by: Ashok Sidipotu <ashok.sidipotu@collabora.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
0ee9339331
commit
f36c05c21e
1 changed files with 2 additions and 4 deletions
|
@ -4,8 +4,8 @@
|
|||
*
|
||||
* request.h - Request class private data
|
||||
*/
|
||||
#ifndef __LIBCAMERA_INTERNAL_REQUEST_H__
|
||||
#define __LIBCAMERA_INTERNAL_REQUEST_H__
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <chrono>
|
||||
#include <map>
|
||||
|
@ -62,5 +62,3 @@ private:
|
|||
};
|
||||
|
||||
} /* namespace libcamera */
|
||||
|
||||
#endif /* __LIBCAMERA_INTERNAL_REQUEST_H__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue