libcamera v0.0.0+3240-f2a18172-dirty (2022-05-13T19:42:47+00: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__ */