Line | Count | Source |
1 | // SPDX-License-Identifier: Apache-2.0 | |
2 | // Copyright Contributors to the OpenQMC Project. | |
3 | ||
4 | /// @file | |
5 | /// @details Defines a macro to declare an expression as potentially unused. | |
6 | /// This is needed for older versions of C++ without the maybe_unused attribute. | |
7 | ||
8 | #pragma once | |
9 | ||
10 | /// Macro to declare a symbol unused. | |
11 | 56.1M | #define OQMC_MAYBE_UNUSED(exp) (void)(exp) |