Internals: Use std:: for mem and str functions.

This commit is contained in:
Wilson Snyder
2022-09-14 21:10:19 -04:00
parent 75fd71d7e5
commit d85b909054
38 changed files with 118 additions and 113 deletions
+2 -2
View File
@@ -185,7 +185,7 @@ void FileLine::lineDirective(const char* textp, int& enterExitRef) {
const char* const ln = textp;
while (*textp && !isspace(*textp)) textp++;
if (isdigit(*ln)) {
lineno(atoi(ln));
lineno(std::atoi(ln));
} else {
fail = true;
}
@@ -207,7 +207,7 @@ void FileLine::lineDirective(const char* textp, int& enterExitRef) {
// Grab level
while (*textp && (isspace(*textp) || *textp == '"')) textp++;
if (isdigit(*textp)) {
enterExitRef = atoi(textp);
enterExitRef = std::atoi(textp);
if (enterExitRef >= 3) fail = true;
} else {
enterExitRef = 0;