Commit 3e19e3f7 authored by Luc Hermitte's avatar Luc Hermitte Committed by Julien Osman
Browse files

ENH: Use references to strings

parent b71ab48c
Pipeline #10901 passed with stages
in 72 minutes and 8 seconds
......@@ -211,7 +211,7 @@ void DEMHandler::OpenDEMFile(const std::string& path)
void DEMHandler::OpenDEMDirectory(const std::string& DEMDirectory)
{
auto isSameDirectory = [DEMDirectory](std::string s)
auto isSameDirectory = [&DEMDirectory](std::string const& s)
{
return s == DEMDirectory;
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment