~azzar1/unity/fix-1028810

« back to all changes in this revision

Viewing changes to UnityCore/Indicator.cpp

  • Committer: Andrea Azzarone
  • Date: 2012-08-22 13:14:18 UTC
  • mfrom: (2516.1.92 unity)
  • Revision ID: azzaronea@gmail.com-20120822131418-mrfwx82k39xnvl9e
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
{
65
65
  Entries to_rm;
66
66
 
67
 
  if (entries_.size() == 0)
68
 
  {
69
 
    to_rm = entries_;
70
 
  }
71
 
  else
 
67
  if (!entries_.empty())
72
68
  {
73
69
    for (auto entry : entries_)
74
70
    {
75
71
      if (std::find(new_entries.begin(), new_entries.end(), entry) == new_entries.end())
76
 
      {
77
72
        to_rm.push_back(entry);
78
 
      }
79
73
    }
80
74
  }
81
75