Skip to content

Indentation yPID

Mikhail Hushchyn requested to merge Indentation-yPID into 2017-patches

Fix the warnings:

14  In file included from /build/jenkins-build/workspace/nightly-builds/build/build/REC/REC_v21r5/Rec/ChargedProtoANNPID/src/ChargedProtoANNPIDAlgBase.cpp:14:0:
15  /build/jenkins-build/workspace/nightly-builds/build/build/REC/REC_v21r5/Rec/ChargedProtoANNPID/src/ChargedProtoANNPIDCommonBase.icpp: In constructor 'ANNGlobalPID::ChargedProtoANNPIDCommonBase<PBASE>::NetConfig::NetConfig(const string&, const string&, const string&, bool, const ANNGlobalPID::ChargedProtoANNPIDCommonBase<PBASE>*)':
16  /build/jenkins-build/workspace/nightly-builds/build/build/REC/REC_v21r5/Rec/ChargedProtoANNPID/src/ChargedProtoANNPIDCommonBase.icpp:582:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
17           if ( parent->msgLevel(MSG::DEBUG) )
18           ^~
19  /build/jenkins-build/workspace/nightly-builds/build/build/REC/REC_v21r5/Rec/ChargedProtoANNPID/src/ChargedProtoANNPIDCommonBase.icpp:585:11: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
20             m_netHelper = std::make_unique<yPIDImpANN>(netVersion,
21             ^~~~~~~~~~~```
Edited by Mikhail Hushchyn

Merge request reports

Loading