mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 16:44:49 +01:00
all passing on windows
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/branches/ErrorHandling@5886 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
parent
a1af034961
commit
a189246292
15
IPhreeqc.cpp
15
IPhreeqc.cpp
@ -20,21 +20,6 @@ const char ERROR_FILENAME[] = "phreeqc.err";
|
||||
const char LOG_FILENAME[] = "phreeqc.log";
|
||||
const char PUNCH_FILENAME[] = "selected.out";
|
||||
|
||||
int istream_getc(void *cookie)
|
||||
{
|
||||
if (cookie)
|
||||
{
|
||||
std::istream* is = (std::istream*)cookie;
|
||||
int n = is->get();
|
||||
if (n == 13 && is->peek() == 10)
|
||||
{
|
||||
n = is->get();
|
||||
}
|
||||
return n;
|
||||
}
|
||||
return EOF;
|
||||
}
|
||||
|
||||
IPhreeqc::IPhreeqc(void)
|
||||
: DatabaseLoaded(false)
|
||||
, ClearAccumulated(false)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user