Skip to content
Snippets Groups Projects
Commit 2fcc72a6 authored by Pete Peterson's avatar Pete Peterson
Browse files

Merge pull request #16238 from mantidproject/coverity_1355248

Fix Coverity issue #1355248
parents cb42506c bfd1823c
No related branches found
No related tags found
No related merge requests found
......@@ -64,8 +64,8 @@ public:
if (!map.empty()) {
// Look for the largest cost item in it.
auto it2 = mutexedMap.second.end();
it2--;
auto it2 = map.end();
--it2;
// Great, we found something.
temp = it2->second;
// Take it out of the map (popped)
......
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