libcamera  v0.0.0+100-debian/0_git20200629+e7aa92a-8-9-g77f5237c-dirty (2021-05-05T16:20:29+01: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__ */