Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Add missing include and fix warning for GCC 13 #2079

Merged
merged 4 commits into from
May 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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