Skip to content

Commit

Permalink
Fix a few deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener authored and jmcarcell committed Feb 25, 2024
1 parent 4cae2b9 commit 4f1e09a
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 4f1e09a

Please sign in to comment.