Skip to content

Commit

Permalink
ISGDataset: fix performance inefficiencies (CID 1549336, 1549337, 154…
Browse files Browse the repository at this point in the history
…9338, 1549339)
  • Loading branch information
rouault committed Jun 30, 2024
1 parent 8f5d4de commit aede51d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frmts/aaigrid/aaigriddataset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -864,9 +864,9 @@ int ISGDataset::ParseHeader(const char *pszHeader, const char *)
return FALSE;
}

auto parseDMS = [](auto str)
const auto parseDMS = [](CPLString &str)
{
std::string degreeSymbol{"\xc2\xb0"};
const std::string degreeSymbol{"\xc2\xb0"};
str.replaceAll(degreeSymbol, "D");
return CPLDMSToDec(str);
};
Expand Down

0 comments on commit aede51d

Please sign in to comment.