mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 00:28:23 +01:00
Fixed incorrect casts.
git-svn-id: svn://136.177.114.72/svn_GW/phreeqcpp/trunk@1388 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
parent
52ab13ec09
commit
f8c7968c72
@ -1093,7 +1093,8 @@ void test_classes(void)
|
||||
if (solution[i]->new_def == TRUE) {
|
||||
std::cout << "Solution new_def " << solution[i]->n_user << std::endl;
|
||||
cxxISolution sol(solution[i]);
|
||||
solution[i] = (struct solution *) solution_free(solution[i]);
|
||||
solution_free(solution[i]);
|
||||
solution[i] = NULL;
|
||||
solution[i] = sol.cxxISolution2solution();
|
||||
struct solution *soln_ptr;
|
||||
soln_ptr = solution[i];
|
||||
@ -1102,7 +1103,8 @@ void test_classes(void)
|
||||
std::cout << "Solution " << solution[i]->n_user << std::endl;
|
||||
std::ostringstream oss;
|
||||
cxxSolution sol(solution[i]);
|
||||
solution[i] = (struct solution *) solution_free(solution[i]);
|
||||
solution_free(solution[i]);
|
||||
solution[i] = NULL;
|
||||
sol.dump_raw(oss, 0);
|
||||
|
||||
//std::fstream myfile("t");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user