xref: /aosp_15_r20/external/armnn/profiling/common/include/IgnoreUnused.hpp (revision 89c4ff92f2867872bb9e2354d150bf0c8c502810)
1 //
2 // Copyright © 2020 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 namespace arm
9 {
10 
11 namespace pipe
12 {
13 // Utility function to selectively silence unused variable compiler warnings
14 
15 template<typename ... Ts>
IgnoreUnused(Ts &&...)16 inline void IgnoreUnused(Ts&&...){}
17 } //namespace pipe
18 } //namespace arm