libcamera  v0.2.0+85-1c5830a9
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 
8 #pragma once
9 
10 #if __cplusplus >= 201703L
11 #define __nodiscard [[nodiscard]]
12 #else
13 #define __nodiscard
14 #endif