Skip to content
Snippets Groups Projects
Commit 38cce32b authored by Dmitri Naumov's avatar Dmitri Naumov Committed by renchao.lu
Browse files

[CL] Phreeqc; Move global variable into class.

The instance_id is used exclusively in the PhreeqcIO class.
parent ef4de991
No related branches found
No related tags found
No related merge requests found
...@@ -29,8 +29,6 @@ std::ostream& operator<<(std::ostream& os, ...@@ -29,8 +29,6 @@ std::ostream& operator<<(std::ostream& os,
std::ostream_iterator<DataBlock>(os)); std::ostream_iterator<DataBlock>(os));
return os; return os;
} }
static const int phreeqc_instance_id = 0;
} // namespace } // namespace
PhreeqcIO::PhreeqcIO( PhreeqcIO::PhreeqcIO(
......
...@@ -71,5 +71,6 @@ private: ...@@ -71,5 +71,6 @@ private:
std::vector<std::pair<int, std::string>> const& std::vector<std::pair<int, std::string>> const&
_process_id_to_component_name_map; _process_id_to_component_name_map;
double _dt = std::numeric_limits<double>::quiet_NaN(); double _dt = std::numeric_limits<double>::quiet_NaN();
const int phreeqc_instance_id = 0;
}; };
} // namespace ChemistryLib } // namespace ChemistryLib
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