Skip to content
Snippets Groups Projects
Commit bacb84ca authored by matta's avatar matta
Browse files

* Fixing warning on some machine

 - NPReaction: The Cint Dict generation need the destructor to be of type virtual to be overloaded safely by the dictionnary
 - TSharcPhysics: Some variable embeded in if statement migth be used uninitialised from a compilation point of view.
parent 389d747c
No related branches found
No related tags found
No related merge requests found
...@@ -57,8 +57,8 @@ namespace NPL{ ...@@ -57,8 +57,8 @@ namespace NPL{
class Reaction{ class Reaction{
public: // Constructors and Destructors public: // Constructors and Destructors
Reaction(); Reaction();
~Reaction(); virtual ~Reaction();
public: // Various Method public: // Various Method
void ReadConfigurationFile(string Path); void ReadConfigurationFile(string Path);
......
...@@ -439,6 +439,7 @@ void TSharcPhysics::ReadConfiguration(string Path) ...@@ -439,6 +439,7 @@ void TSharcPhysics::ReadConfiguration(string Path)
string DataBuffer ; string DataBuffer ;
double R,Phi,Z; double R,Phi,Z;
R = 0 ; Phi = 0 ; Z = 0;
TVector3 Pos; TVector3 Pos;
bool check_R = false ; bool check_R = false ;
bool check_Phi = false ; bool check_Phi = false ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment