Skip to content

Commit 39e0eb9

Browse files
committed
Let compiler deduce template type
1 parent b0776ca commit 39e0eb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Utilities/rANS/include/rANS/compat.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ class makeEncoder
201201
template <typename source_T>
202202
[[nodiscard]] inline static decltype(auto) fromSamples(gsl::span<const source_T> range, size_t renormingPrecision = 0)
203203
{
204-
auto histogram = makeDenseHistogram::template fromSamples(range);
204+
auto histogram = makeDenseHistogram::fromSamples(range);
205205
return makeEncoder::fromHistogram(std::move(histogram), renormingPrecision);
206206
};
207207

@@ -296,4 +296,4 @@ using decoder_type = decltype(makeDecoder::fromRenormed(RenormedDenseHistogram<s
296296

297297
} // namespace o2::rans::compat
298298

299-
#endif /* RANS_COMPAT_H_ */
299+
#endif /* RANS_COMPAT_H_ */

0 commit comments

Comments
 (0)