xref: /aosp_15_r20/external/armnn/include/armnn/utility/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 armnn
9 {
10 
11 // Utility function to selectively silence unused variable compiler warnings
12 
13 template<typename ... Ts>
IgnoreUnused(Ts &&...)14 inline void IgnoreUnused(Ts&&...){}
15 
16 } //namespace armnn