Skip to content
Snippets Groups Projects
Commit c883255a authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[MPL] Avoid copy of string. Using reference.

parent d58ef90d
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,7 @@ std::unique_ptr<MaterialPropertyLib::Phase> createPhase(
}))
{
ERR("Phase type should be one of:");
for (auto const type : allowed_phase_types)
for (auto const& type : allowed_phase_types)
{
ERR("{:s}", type);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment