Commit c7b2d0ae authored by Paul's avatar Paul
Browse files

Add const

parent 30b7e786
......@@ -380,7 +380,7 @@ struct argument_parser
template <class T>
void set_exe_name_to(T& x)
{
actions.push_back([&](auto& self) { x = self.exe_name; });
actions.push_back([&](const auto& self) { x = self.exe_name; });
}
bool
......
Markdown is supported
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