Skip to content

Commit 7bc64ab

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/celeritas/g4/EmExtraPhysicsHelper.hh

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

59-
inline auto
59+
inline EmExtraPhysicsHelper::MmSqXs
6060
EmExtraPhysicsHelper::calc_gamma_nuclear_xs(AtomicNumber z,
61-
MevEnergy energy)() const -> MmSqXs
61+
MevEnergy energy)() const
6262
{
6363
CELER_ASSERT_UNREACHABLE();
6464
}

0 commit comments

Comments
 (0)