Skip to content

Commit

Permalink
deleted some useless end-of-line ';' (ECP-WarpX#1478)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucafedeli88 authored Oct 28, 2020
1 parent 51f5af9 commit 04d1809
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public:
* does not require control parameters or lookup tables.
*/
BreitWheelerGetOpticalDepth ()
{};
{}

/**
* () operator is just a thin wrapper around a very simple function to
Expand Down Expand Up @@ -111,7 +111,7 @@ public:
BreitWheelerEvolveOpticalDepth (
const BW_dndt_table_view table_view,
const amrex::ParticleReal bw_minimum_chi_phot):
m_table_view{table_view}, m_bw_minimum_chi_phot{bw_minimum_chi_phot}{};
m_table_view{table_view}, m_bw_minimum_chi_phot{bw_minimum_chi_phot}{}

/**
* Evolves the optical depth. It can be used on GPU.
Expand Down Expand Up @@ -190,7 +190,7 @@ public:
* @param[in] table_view a BW_pair_prod_table_view
*/
BreitWheelerGeneratePairs (const BW_pair_prod_table_view table_view):
m_table_view{table_view}{};
m_table_view{table_view}{}

/**
* Generates pairs according to Breit Wheeler process.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public:
* does not require control parameters or lookup tables.
*/
QuantumSynchrotronGetOpticalDepth ()
{};
{}

/**
* () operator is just a thin wrapper around a very simple function to
Expand Down Expand Up @@ -110,7 +110,7 @@ public:
QuantumSynchrotronEvolveOpticalDepth (
const QS_dndt_table_view table_view,
const amrex::ParticleReal qs_minimum_chi_part):
m_table_view{table_view}, m_qs_minimum_chi_part{qs_minimum_chi_part}{};
m_table_view{table_view}, m_qs_minimum_chi_part{qs_minimum_chi_part}{}

/**
* Evolves the optical depth. It can be used on GPU.
Expand Down Expand Up @@ -184,7 +184,7 @@ public:
*/
QuantumSynchrotronPhotonEmission (
const QS_phot_em_table_view table_view):
m_table_view{table_view}{};
m_table_view{table_view}{}

/**
* Generates photons according to Quantum Synchrotron process.
Expand Down
4 changes: 2 additions & 2 deletions Source/Particles/WarpXParticleContainer.H
Original file line number Diff line number Diff line change
Expand Up @@ -396,9 +396,9 @@ protected:
//Species can receive a shared pointer to a QED engine (species for
//which this is relevant should override these functions)
virtual void
set_breit_wheeler_engine_ptr(std::shared_ptr<BreitWheelerEngine>){};
set_breit_wheeler_engine_ptr(std::shared_ptr<BreitWheelerEngine>){}
virtual void
set_quantum_sync_engine_ptr(std::shared_ptr<QuantumSynchrotronEngine>){};
set_quantum_sync_engine_ptr(std::shared_ptr<QuantumSynchrotronEngine>){}

int m_qed_breit_wheeler_ele_product;
std::string m_qed_breit_wheeler_ele_product_name;
Expand Down

0 comments on commit 04d1809

Please sign in to comment.