[skip ci] Add std:: to invoked C std lib functions

This commit is contained in:
ado
2024-02-25 13:02:34 +01:00
parent 0ebbee1174
commit f8e14b1fcf
7 changed files with 35 additions and 35 deletions

View File

@@ -77,9 +77,9 @@ TEST_CASE_TEMPLATE("test position method", T, ParserOptionCombinations) {
if (!buff.empty()) {
return buff[n];
} else {
auto file = fopen(f.name.c_str(), "r");
fseek(file, n, SEEK_SET);
return static_cast<char>(fgetc(file));
auto file = std::fopen(f.name.c_str(), "r");
std::fseek(file, n, SEEK_SET);
return static_cast<char>(std::fgetc(file));
}
};