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:
David L Parkhurst 2011-12-09 14:41:38 +00:00
parent a4c8e993d3
commit 2211621f2f

View File

@ -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)
{