Skip to content
Snippets Groups Projects
Commit 33e4e24f authored by Marco Clemencic's avatar Marco Clemencic
Browse files

Fix Clang warning about unused functions

only affecting standalone build of public headers
parent 53b22872
No related branches found
No related tags found
2 merge requests!4386Merge master into FTRetinaSeedRawBanks,!4322Fixes for gcc 13, clang 16 and C++20
......@@ -70,14 +70,14 @@ namespace LHCb::UTDAQ {
//=============================================================================
// -- Helper for non-trivial index calculation
//=============================================================================
int boundsIndex( const int maxNumSectors, const int layer, const int offset ) {
[[maybe_unused]] int boundsIndex( const int maxNumSectors, const int layer, const int offset ) {
return maxNumSectors * layer + offset;
}
//=============================================================================
// -- Helper for non-trivial position calculation
//=============================================================================
simd::int_v position( const simd::int_v positions, const int maxNumSectors, const int layer ) {
[[maybe_unused]] simd::int_v position( const simd::int_v positions, const int maxNumSectors, const int layer ) {
return positions - maxNumSectors * layer;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment