Fix Coverity CID 38597

No need to initialize cached_component_string; its default constructor
creates an empty string
This commit is contained in:
mikekaganski
2015-03-07 13:05:12 +10:00
parent bdeb976f89
commit 2be5f6b4a6

View File

@@ -36,7 +36,7 @@ protected:
CoolPropDbl call_phi0dll(long itau, long idelta);
public:
REFPROPMixtureBackend(){cached_component_string = ""; instance_counter++;};
REFPROPMixtureBackend():Ncomp(0),_mole_fractions_set(false) {instance_counter++;}
/// The instantiator
/// @param fluid_names The vector of strings of the fluid components, without file ending