libcamera  v0.0.0+3-3b6e2d50-dirty (2022-01-27T16:18:04+08:00)
Supporting cameras in Linux since 2019
compiler.h
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 /*
3  * Copyright (C) 2021, Google Inc.
4  *
5  * compiler.h - Compiler support
6  */
7 #ifndef __LIBCAMERA_COMPILER_H__
8 #define __LIBCAMERA_COMPILER_H__
9 
10 #if __cplusplus >= 201703L
11 #define __nodiscard [[nodiscard]]
12 #else
13 #define __nodiscard
14 #endif
15 
16 #endif /* __LIBCAMERA_COMPILER_H__ */