Skip to content

Commit

Permalink
fix: Add missing include and fix warning for GCC 13 (#2079)
Browse files Browse the repository at this point in the history
self explaining
  • Loading branch information
benjaminhuth committed May 2, 2023
1 parent 0d99a80 commit 1f234e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Core/include/Acts/EventData/TrackStatePropMask.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

#include "Acts/Utilities/EnumBitwiseOperators.hpp"

#include <cstdint>
#include <limits>
#include <ostream>
#include <type_traits>
Expand All @@ -24,7 +25,7 @@ namespace Acts {
/// a jacobian.
/// The enum is used as a strong type wrapper around the bits to prevent
/// autoconversion from integer
enum struct TrackStatePropMask : uint8_t {
enum struct TrackStatePropMask : std::uint8_t {
None = 0,
Predicted = 1 << 0,
Filtered = 1 << 1,
Expand All @@ -33,7 +34,7 @@ enum struct TrackStatePropMask : uint8_t {

Calibrated = 1 << 4,

All = std::numeric_limits<uint8_t>::max(), // should be all ones
All = std::numeric_limits<std::uint8_t>::max(), // should be all ones
};

ACTS_DEFINE_ENUM_BITWISE_OPERATORS(TrackStatePropMask)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace ActsExamples {

void RefittingCalibrator::calibrate(const Acts::GeometryContext& /*gctx*/,
Proxy trackState) const {
const auto& sl =
const auto sl =
trackState.getUncalibratedSourceLink().get<RefittingSourceLink>();

// Here we construct a measurement by extracting the information available
Expand Down

0 comments on commit 1f234e9

Please sign in to comment.