Skip to content

Commit

Permalink
Maybe fix MSVC compile issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
wcjohns committed Jun 14, 2024
1 parent a1312b8 commit 4f32de2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/InterSpec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2763,10 +2763,10 @@ void InterSpec::handleRightClick( double energy, double counts,
if( !peak )
{
WString target_txt;
const tuple<const SandiaDecay::Nuclide *, double, float> near
const tuple<const SandiaDecay::Nuclide *, double, float> near_line
= PeakSearchGuiUtils::nuclide_reference_line_near( this, energy );
const SandiaDecay::Nuclide *ref_nuc = get<0>(near);
const float ref_energy = get<2>(near);
const SandiaDecay::Nuclide *ref_nuc = get<0>(near_line);
const float ref_energy = get<2>(near_line);

if( ref_nuc && (ref_energy > 10.0) )
{
Expand Down

0 comments on commit 4f32de2

Please sign in to comment.