Skip to content

Commit 4883848

Browse files
committed
Please consider the following formatting changes
1 parent 6595db0 commit 4883848

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

Framework/Core/include/Framework/HistogramRegistry.h

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ namespace o2::framework
4242
struct HistFiller {
4343
// fill any type of histogram (if weight was requested it must be the last argument)
4444
template <typename T, typename... Ts>
45-
static void fillHistAny(std::shared_ptr<T> hist, Ts... positionAndWeight)
46-
requires(std::is_arithmetic_v<Ts> && ...);
45+
static void fillHistAny(std::shared_ptr<T> hist, Ts... positionAndWeight) requires(std::is_arithmetic_v<Ts>&&...);
4746

4847
// fill any type of histogram with columns (Cs) of a filtered table (if weight is requested it must reside the last specified column)
4948
template <typename... Cs, typename R, typename T>
@@ -128,8 +127,7 @@ class HistogramRegistry
128127

129128
// fill hist with values
130129
template <typename... Ts>
131-
void fill(const HistName& histName, Ts... positionAndWeight)
132-
requires(std::is_arithmetic_v<Ts> && ...);
130+
void fill(const HistName& histName, Ts... positionAndWeight) requires(std::is_arithmetic_v<Ts>&&...);
133131

134132
// fill hist with content of (filtered) table columns
135133
template <typename... Cs, typename T>
@@ -199,8 +197,7 @@ class HistogramRegistry
199197
//--------------------------------------------------------------------------------------------------
200198

201199
template <typename T, typename... Ts>
202-
void HistFiller::fillHistAny(std::shared_ptr<T> hist, Ts... positionAndWeight)
203-
requires(std::is_arithmetic_v<Ts> && ...)
200+
void HistFiller::fillHistAny(std::shared_ptr<T> hist, Ts... positionAndWeight) requires(std::is_arithmetic_v<Ts>&&...)
204201
{
205202
constexpr int nArgs = sizeof...(Ts);
206203

@@ -415,8 +412,7 @@ uint32_t HistogramRegistry::getHistIndex(const T& histName)
415412
}
416413

417414
template <typename... Ts>
418-
void HistogramRegistry::fill(const HistName& histName, Ts... positionAndWeight)
419-
requires(std::is_arithmetic_v<Ts> && ...)
415+
void HistogramRegistry::fill(const HistName& histName, Ts... positionAndWeight) requires(std::is_arithmetic_v<Ts>&&...)
420416
{
421417
std::visit([positionAndWeight...](auto&& hist) { HistFiller::fillHistAny(hist, positionAndWeight...); }, mRegistryValue[getHistIndex(histName)]);
422418
}

0 commit comments

Comments
 (0)