mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-15 16:18:22 +01:00
std header files added.
git-svn-id: svn://136.177.114.72/svn_GW/phreeqcpp/trunk@4146 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
parent
e245f8afa0
commit
9ed87e33ad
@ -10,6 +10,7 @@
|
||||
#include <cassert> // assert
|
||||
#include <iostream> // std::cout std::cerr
|
||||
#include "Utils.h"
|
||||
#include <stdio.h>
|
||||
#if defined (PHREEQC_CLASS)
|
||||
#include "Phreeqc.h"
|
||||
#endif
|
||||
|
||||
@ -5,6 +5,7 @@
|
||||
#include <ctype.h> // ::tolower
|
||||
#include <algorithm> //std::transform
|
||||
#include <iostream> // std::cout std::cerr
|
||||
#include <string.h>
|
||||
|
||||
#include "Utils.h"
|
||||
#include "Parser.h"
|
||||
@ -66,7 +67,7 @@ Utilities::replace(const char *str1, const char *str2, std::string & str)
|
||||
if (n == std::string::npos)
|
||||
return false;
|
||||
|
||||
str.replace(n,::strlen(str1), str2);
|
||||
str.replace(n, ::strlen(str1), str2);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user