mirror of https://github.com/CGAL/cgal
Add second missing ::
This commit is contained in:
parent
a576d01c65
commit
09c11ca84a
|
|
@ -433,7 +433,7 @@ bool write_mesh(const Surface_mesh<K>& mesh, const std::string& filename)
|
|||
std::string::size_type dot(filename.rfind("."));
|
||||
if (dot == std::string::npos) return false;
|
||||
std::string ext = filename.substr(dot+1, filename.length()-dot-1);
|
||||
std::transform(ext.begin(), ext.end(), ext.begin(), tolower);
|
||||
std::transform(ext.begin(), ext.end(), ext.begin(), ::tolower);
|
||||
|
||||
// extension determines reader
|
||||
if (ext == "off")
|
||||
|
|
|
|||
Loading…
Reference in New Issue