Skip to content

Commit 7007577

Browse files
author
Soon Yung Jun
committed
Fix compilation error related to return type
1 parent 2cdb77c commit 7007577

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/celeritas/g4/EmExtraPhysicsHelper.hh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,9 @@ inline EmExtraPhysicsHelper::EmExtraPhysicsHelper()
5656
CELER_NOT_CONFIGURED("Geant4");
5757
}
5858

59-
inline MmSqXs
60-
EmExtraPhysicsHelper::calc_gamma_nuclear_xs(AtomicNumber z, MevEnergy energy)()
59+
inline auto
60+
EmExtraPhysicsHelper::calc_gamma_nuclear_xs(AtomicNumber z,
61+
MevEnergy energy)() const -> MmSqXs
6162
{
6263
CELER_ASSERT_UNREACHABLE();
6364
}

0 commit comments

Comments
 (0)