Skip to content

Commit e05928a

Browse files
authored
Merge pull request #48983 from lukaszmichalskii/soa-const-tuple
Make TupleOrPointerType use const pointer in SoAConstParametersImpl
2 parents 6fe0db3 + 7946659 commit e05928a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DataFormats/SoATemplate/interface/SoACommon.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ namespace cms::soa {
162162

163163
using ValueType = T;
164164
using ScalarType = typename T::Scalar;
165-
using TupleOrPointerType = std::tuple<ScalarType*, byte_size_type>;
165+
using TupleOrPointerType = std::tuple<const ScalarType*, byte_size_type>;
166166

167167
// default constructor
168168
SoAConstParametersImpl() = default;

0 commit comments

Comments
 (0)