Skip to content
Snippets Groups Projects
Commit a45546d9 authored by Beerwerth, Randolf's avatar Beerwerth, Randolf
Browse files

Fix: compilation error

parent 69f6b048
No related branches found
No related tags found
No related merge requests found
...@@ -73,6 +73,6 @@ MatrixFresnelMap::getCoefficientsFromCache(kvector_t kvec, const std::vector<Sli ...@@ -73,6 +73,6 @@ MatrixFresnelMap::getCoefficientsFromCache(kvector_t kvec, const std::vector<Sli
{ {
auto it = hash_table.find(kvec); auto it = hash_table.find(kvec);
if (it == hash_table.end()) if (it == hash_table.end())
it = hash_table.insert({kvec, std::make_unique<SpecularMagneticStrategy>()->Execute(slices, kvec)}).first; it = hash_table.insert({kvec, std::move(std::make_unique<SpecularMagneticStrategy>()->Execute(slices, kvec))}).first;
return it->second; return it->second;
} }
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