libcamera: Move compiler.h to base/

In preparation for usage of __nodiscard in the base API, move the
compiler.h header to base.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Hirokazu Honda <hiroh@chromium.org>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
Laurent Pinchart
2021-11-28 00:05:35 +02:00
parent 4b24b0bfe6
commit 6b1e256934
4 changed files with 2 additions and 2 deletions
+1
View File
@@ -6,6 +6,7 @@ libcamera_base_headers = files([
'backtrace.h',
'bound_method.h',
'class.h',
'compiler.h',
'event_dispatcher.h',
'event_dispatcher_poll.h',
'event_notifier.h',
+1 -1
View File
@@ -10,7 +10,7 @@
#include <algorithm>
#include <string>
#include <libcamera/compiler.h>
#include <libcamera/base/compiler.h>
namespace libcamera {
-1
View File
@@ -5,7 +5,6 @@ libcamera_include_dir = 'libcamera' / 'libcamera'
libcamera_public_headers = files([
'camera.h',
'camera_manager.h',
'compiler.h',
'controls.h',
'file_descriptor.h',
'framebuffer.h',