Skip to content

Commit 2e8a615

Browse files
committed
Please consider the following formatting changes
1 parent 206c68b commit 2e8a615

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
@@ -45,8 +45,7 @@ concept FillValue = std::is_integral_v<T> || std::is_floating_point_v<T> || std:
4545
struct HistFiller {
4646
// fill any type of histogram (if weight was requested it must be the last argument)
4747
template <typename T, typename... Ts>
48-
static void fillHistAny(std::shared_ptr<T> hist, Ts... positionAndWeight)
49-
requires(FillValue<Ts> && ...);
48+
static void fillHistAny(std::shared_ptr<T> hist, Ts... positionAndWeight) requires(FillValue<Ts>&&...);
5049

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

132131
// fill hist with values
133132
template <typename... Ts>
134-
void fill(const HistName& histName, Ts... positionAndWeight)
135-
requires(FillValue<Ts> && ...);
133+
void fill(const HistName& histName, Ts... positionAndWeight) requires(FillValue<Ts>&&...);
136134

137135
// fill hist with content of (filtered) table columns
138136
template <typename... Cs, typename T>
@@ -202,8 +200,7 @@ class HistogramRegistry
202200
//--------------------------------------------------------------------------------------------------
203201

204202
template <typename T, typename... Ts>
205-
void HistFiller::fillHistAny(std::shared_ptr<T> hist, Ts... positionAndWeight)
206-
requires(FillValue<Ts> && ...)
203+
void HistFiller::fillHistAny(std::shared_ptr<T> hist, Ts... positionAndWeight) requires(FillValue<Ts>&&...)
207204
{
208205
constexpr int nArgs = sizeof...(Ts);
209206

@@ -418,8 +415,7 @@ uint32_t HistogramRegistry::getHistIndex(const T& histName)
418415
}
419416

420417
template <typename... Ts>
421-
void HistogramRegistry::fill(const HistName& histName, Ts... positionAndWeight)
422-
requires(FillValue<Ts> && ...)
418+
void HistogramRegistry::fill(const HistName& histName, Ts... positionAndWeight) requires(FillValue<Ts>&&...)
423419
{
424420
std::visit([positionAndWeight...](auto&& hist) { HistFiller::fillHistAny(hist, positionAndWeight...); }, mRegistryValue[getHistIndex(histName)]);
425421
}

0 commit comments

Comments
 (0)