mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix build warning
This commit is contained in:
parent
b4dd37337a
commit
997a3a6fe0
@ -274,7 +274,8 @@ void RifWellPathImporter::readAllAsciiWellData(const QString& filePath)
|
|||||||
// name <WellNameA>
|
// name <WellNameA>
|
||||||
// wellname: <WellNameA>
|
// wellname: <WellNameA>
|
||||||
std::string lineLowerCase = line;
|
std::string lineLowerCase = line;
|
||||||
transform(lineLowerCase.begin(), lineLowerCase.end(), lineLowerCase.begin(), ::tolower);
|
transform(lineLowerCase.begin(), lineLowerCase.end(), lineLowerCase.begin(),
|
||||||
|
[](const char c) -> char { return (char)::tolower(c); });
|
||||||
|
|
||||||
std::string tokenName = "name";
|
std::string tokenName = "name";
|
||||||
std::size_t foundNameIdx = lineLowerCase.find(tokenName);
|
std::size_t foundNameIdx = lineLowerCase.find(tokenName);
|
||||||
|
Loading…
Reference in New Issue
Block a user