Skip to content

Commit

Permalink
stable 3
Browse files Browse the repository at this point in the history
  • Loading branch information
AJPfleger committed Oct 30, 2024
1 parent 84b0ce2 commit bd26cd2
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
6 changes: 3 additions & 3 deletions Core/include/Acts/EventData/VectorTrackContainer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ class VectorTrackContainer final : public detail_vtc::VectorTrackContainerBase {
VectorTrackContainer(const VectorTrackContainer& other) = default;
VectorTrackContainer(VectorTrackContainer&&) = default;

VectorTrackContainer(const ConstVectorTrackContainer& other);
explicit VectorTrackContainer(const ConstVectorTrackContainer& other);

public:
// BEGIN INTERFACE
Expand Down Expand Up @@ -281,13 +281,13 @@ class ConstVectorTrackContainer final
ConstVectorTrackContainer() : VectorTrackContainerBase{} {}

ConstVectorTrackContainer(const ConstVectorTrackContainer& other) = default;
ConstVectorTrackContainer(const VectorTrackContainer& other)
explicit ConstVectorTrackContainer(const VectorTrackContainer& other)
: VectorTrackContainerBase{other} {
assert(checkConsistency());
}

ConstVectorTrackContainer(ConstVectorTrackContainer&&) = default;
ConstVectorTrackContainer(VectorTrackContainer&& other)
explicit ConstVectorTrackContainer(VectorTrackContainer&& other)
: VectorTrackContainerBase{std::move(other)} {
assert(checkConsistency());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ struct CorrectedFreeToBoundTransformer {
/// Construct from a FreeToBoundCorrection
///
/// @param freeToBoundCorrection The freeToBoundCorrection object
CorrectedFreeToBoundTransformer(
explicit CorrectedFreeToBoundTransformer(
const FreeToBoundCorrection& freeToBoundCorrection);

/// Default constructors
Expand Down
3 changes: 2 additions & 1 deletion Core/include/Acts/Geometry/ConeVolumeBounds.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ class ConeVolumeBounds : public VolumeBounds {
/// Constructor - from a fixed size array
///
/// @param values The bound values
ConeVolumeBounds(const std::array<ActsScalar, eSize>& values) noexcept(false)
explicit ConeVolumeBounds(
const std::array<ActsScalar, eSize>& values) noexcept(false)
: m_values(values) {
checkConsistency();
buildSurfaceBounds();
Expand Down
2 changes: 1 addition & 1 deletion Core/include/Acts/Geometry/CuboidVolumeBounds.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class CuboidVolumeBounds : public VolumeBounds {
/// Constructor - from a fixed size array
///
/// @param values iw the bound values
CuboidVolumeBounds(const std::array<ActsScalar, eSize>& values);
explicit CuboidVolumeBounds(const std::array<ActsScalar, eSize>& values);

/// Copy Constructor
///
Expand Down
2 changes: 1 addition & 1 deletion Core/include/Acts/Geometry/CuboidVolumeBuilder.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class CuboidVolumeBuilder : public ITrackingVolumeBuilder {
/// @brief Constructor that sets the config
///
/// @param [in] cfg Configuration of the detector
CuboidVolumeBuilder(Config& cfg) : m_cfg(cfg) {}
explicit CuboidVolumeBuilder(Config& cfg) : m_cfg(cfg) {}

/// @brief Setter of the config
///
Expand Down
4 changes: 2 additions & 2 deletions Core/include/Acts/Geometry/CutoutCylinderVolumeBounds.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ class CutoutCylinderVolumeBounds : public VolumeBounds {
/// Constructor - from a fixed size array
///
/// @param values The bound values
CutoutCylinderVolumeBounds(const std::array<double, eSize>& values) noexcept(
false)
explicit CutoutCylinderVolumeBounds(
const std::array<double, eSize>& values) noexcept(false)
: m_values(values) {
checkConsistency();
buildSurfaceBounds();
Expand Down

0 comments on commit bd26cd2

Please sign in to comment.