Skip to content

Commit 8e10683

Browse files
committed
TPC: Add todo comment that const CompressedCluster treadment must be fixed, currently non-const access to the data is possible
1 parent c383536 commit 8e10683

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

DataFormats/Detectors/TPC/include/DataFormatsTPC/CompressedClusters.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ struct CompressedClustersOffsets : public CompressedClustersPtrs_x<size_t, size_
7474

7575
struct CompressedClustersFlat;
7676

77-
struct CompressedClusters : public CompressedClustersCounters, public CompressedClustersPtrs {
77+
struct CompressedClusters : public CompressedClustersCounters, public CompressedClustersPtrs { // TODO: Need a const version of this, currently the constructor allows to create a non-const version from const CompressedClustersFlat, which should not be allowed
7878
CompressedClusters() CON_DEFAULT;
7979
~CompressedClusters() CON_DEFAULT;
8080
CompressedClusters(const CompressedClustersFlat& c);

0 commit comments

Comments
 (0)