Skip to content

Commit

Permalink
refs #9360. Fix VS C++ warning
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenArnold committed Apr 24, 2014
1 parent e7bb5c3 commit d364497
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/Mantid/Framework/Crystal/src/ClusterRegister.cpp
Expand Up @@ -171,8 +171,8 @@ namespace Mantid
{
if (!a.isEmpty() && !b.isEmpty())
{
const size_t& aId = a.getId();
const size_t& bId = b.getId();
const int& aId = a.getId();
const int& bId = b.getId();

size_t hash = m_Impl->m_labelHasher(ordered_pair(aId, bId));
if(m_Impl->m_labelHash.find(hash) == m_Impl->m_labelHash.end()) // Only if this pair combination has not already been processed
Expand Down

0 comments on commit d364497

Please sign in to comment.