Skip to content

Commit

Permalink
Make a data member private
Browse files Browse the repository at this point in the history
  • Loading branch information
VourMa committed Aug 21, 2024
1 parent fcb5e32 commit 03da845
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion RecoTracker/LSTCore/interface/EndcapGeometryBuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ namespace lst {
struct EndcapGeometryBuffer {
Buf<TDev, unsigned int> geoMapDetId_buf;
Buf<TDev, float> geoMapPhi_buf;
EndcapGeometryDev data_;

EndcapGeometryBuffer(TDev const& dev, unsigned int nEndCapMap)
: geoMapDetId_buf(allocBufWrapper<unsigned int>(dev, nEndCapMap)),
Expand All @@ -49,6 +48,9 @@ namespace lst {
}

inline EndcapGeometryDev const* data() const { return &data_; }

private:
EndcapGeometryDev data_;
};

} // namespace lst
Expand Down

0 comments on commit 03da845

Please sign in to comment.