Skip to content

Commit

Permalink
Fix deprecation warnings for changed mutable accessors (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener authored Feb 26, 2024
1 parent 9e3ecab commit 2d282f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ struct ExampleFunctionalProducerMultiple final

auto particles = edm4hep::MCParticleCollection();
auto particle = particles.create();
auto& p4 = particle.momentum();
auto& p4 = particle.getMomentum();
p4.x = m_magicNumberOffset + m_event + 5;
p4.y = m_magicNumberOffset + 6;
p4.z = m_magicNumberOffset + 7;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ StatusCode k4FWCoreTest_AlgorithmWithTFile::execute() {

auto particle = particles->create();

auto& p4 = particle.momentum();
auto& p4 = particle.getMomentum();
p4.x = m_magicNumberOffset + 5;
p4.y = m_magicNumberOffset + 6;
p4.z = m_magicNumberOffset + 7;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ StatusCode k4FWCoreTest_CreateExampleEventData::execute() {

auto particle = particles->create();

auto& p4 = particle.momentum();
auto& p4 = particle.getMomentum();
p4.x = m_magicNumberOffset + m_event + 5;
p4.y = m_magicNumberOffset + 6;
p4.z = m_magicNumberOffset + 7;
Expand Down

0 comments on commit 2d282f5

Please sign in to comment.