Skip to content

Commit 15efd79

Browse files
committed
apply clang format
1 parent ae24214 commit 15efd79

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/Particle.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ void Particle::SetPid(PdgCode_t pid) {
1616
}
1717

1818
void Particle::CheckIsAllowedSetMassAndChargeExplicitly() const {
19-
if(!is_allowed_set_charge_and_mass_explicitly_) {
19+
if (!is_allowed_set_charge_and_mass_explicitly_) {
2020
std::string message = "Particle::CheckIsAllowedSetMassAndChargeExplicitly(): ";
2121
message += "mass and charge of the particle are set automatically with SetPid() call ";
2222
message += "(unless they were already assigned with some values, incl. when copied content from Track to Particle). ";

core/Particle.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class Particle : public Track {
4040

4141
void SetPid(PdgCode_t pid);
4242

43-
void SetIsAllowedSetMassAndChargeExplicitly(bool is=true) { is_allowed_set_charge_and_mass_explicitly_ = is; }
43+
void SetIsAllowedSetMassAndChargeExplicitly(bool is = true) { is_allowed_set_charge_and_mass_explicitly_ = is; }
4444

4545
void CheckIsAllowedSetMassAndChargeExplicitly() const;
4646

0 commit comments

Comments
 (0)