Skip to content

Commit 822a8a0

Browse files
committed
address modernize-use-using issues
1 parent 047037d commit 822a8a0

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

multi_physics/QED/include/picsar_qed/physics/breit_wheeler/breit_wheeler_engine_tables.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -530,8 +530,8 @@ namespace picsar::multi_physics::phys::breit_wheeler
530530
*
531531
* @tparam RealType the floating point type to be used
532532
*/
533-
typedef pair_prod_lookup_table<
534-
RealType, containers::picsar_span<const RealType>> view_type;
533+
using view_type =
534+
pair_prod_lookup_table<RealType, containers::picsar_span<const RealType>>;
535535

536536
/**
537537
* Empty constructor

multi_physics/QED/include/picsar_qed/physics/quantum_sync/quantum_sync_engine_tables.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -486,8 +486,8 @@ namespace picsar::multi_physics::phys::quantum_sync
486486
*
487487
* @tparam RealType the floating point type to be used
488488
*/
489-
typedef photon_emission_lookup_table<
490-
RealType, containers::picsar_span<const RealType>> view_type;
489+
using view_type =
490+
photon_emission_lookup_table<RealType, containers::picsar_span<const RealType>>;
491491

492492
/**
493493
* Empty constructor
@@ -910,8 +910,8 @@ namespace picsar::multi_physics::phys::quantum_sync
910910
*
911911
* @tparam RealType the floating point type to be used
912912
*/
913-
typedef tailopt_photon_emission_lookup_table<
914-
RealType, containers::picsar_span<const RealType>> view_type;
913+
using view_type =
914+
tailopt_photon_emission_lookup_table<RealType, containers::picsar_span<const RealType>>;
915915

916916
/**
917917
* Empty constructor

0 commit comments

Comments
 (0)