Skip to content

Commit

Permalink
refactor: Use uint64_t explicitly in MultiTrajectory (#2090)
Browse files Browse the repository at this point in the history
Was using `unsigned long long` before, but that's not actually guaranteed to be `uint64_t` on all platforms
  • Loading branch information
paulgessinger committed May 5, 2023
1 parent 3ab60b5 commit d4d768f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Core/include/Acts/EventData/MultiTrajectory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class ConstTrackStateType;
/// This view allows modifications.
class TrackStateType {
public:
using raw_type = unsigned long long;
using raw_type = std::uint64_t;
/// Constructor from a reference to the underlying value container
/// @param raw the value container
TrackStateType(raw_type& raw) : m_raw{&raw} {}
Expand Down Expand Up @@ -97,7 +97,7 @@ class TrackStateType {
/// This view does not allow modifications
class ConstTrackStateType {
public:
using raw_type = unsigned long long;
using raw_type = std::uint64_t;

/// Constructor from a reference to the underlying value container
/// @param raw the value container
Expand Down Expand Up @@ -129,7 +129,7 @@ template <typename derived_t>
class MultiTrajectory;
class Surface;

using ProjectorBitset = unsigned long long;
using ProjectorBitset = uint64_t;

namespace detail_lt {
/// Either type T or const T depending on the boolean.
Expand Down

0 comments on commit d4d768f

Please sign in to comment.