mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 16:44:49 +01:00
istreams moved to phrq_io
git-svn-id: svn://136.177.114.72/svn_GW/phreeqcpp/branches/ErrorHandling@5874 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
parent
a4c8e993d3
commit
2211621f2f
@ -95,9 +95,9 @@ main_method(int argc, char *argv[])
|
||||
/*
|
||||
* Load database into memory
|
||||
*/
|
||||
this->push_istream(db_cookie);
|
||||
this->phrq_io->push_istream(db_cookie);
|
||||
errors = read_database();
|
||||
this->clear_istream();
|
||||
this->phrq_io->clear_istream();
|
||||
|
||||
if (errors != 0)
|
||||
{
|
||||
@ -109,9 +109,9 @@ main_method(int argc, char *argv[])
|
||||
* Read input data for simulation
|
||||
*/
|
||||
|
||||
this->push_istream(input_cookie);
|
||||
this->phrq_io->push_istream(input_cookie);
|
||||
errors = run_simulations();
|
||||
this->clear_istream();
|
||||
this->phrq_io->clear_istream();
|
||||
|
||||
if (errors != 0)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user