mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-10 23:46:00 -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>
|
||||
// wellname: <WellNameA>
|
||||
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::size_t foundNameIdx = lineLowerCase.find(tokenName);
|
||||
|
Loading…
Reference in New Issue
Block a user