Kaydet (Commit) 04f4a0c1 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Somehow this change was lost during git rebase.

Change-Id: Ic20584b5da2920dc8f2761b7f2c65c58713c5895
üst 7e04bc14
...@@ -1378,8 +1378,7 @@ SvTreeList::GetChildIterators(const SvTreeListEntry* pParent) const ...@@ -1378,8 +1378,7 @@ SvTreeList::GetChildIterators(const SvTreeListEntry* pParent) const
{ {
typedef std::pair<SvTreeListEntries::const_iterator, SvTreeListEntries::const_iterator> IteratorPair; typedef std::pair<SvTreeListEntries::const_iterator, SvTreeListEntries::const_iterator> IteratorPair;
static const SvTreeEntryList dummy; // prevent singular iterator asserts IteratorPair aRet;
IteratorPair aRet(dummy.begin(), dummy.end());
if (!pParent) if (!pParent)
pParent = pRootItem; pParent = pRootItem;
...@@ -1399,8 +1398,7 @@ std::pair<SvTreeListEntries::iterator, SvTreeListEntries::iterator> ...@@ -1399,8 +1398,7 @@ std::pair<SvTreeListEntries::iterator, SvTreeListEntries::iterator>
{ {
typedef std::pair<SvTreeListEntries::iterator, SvTreeListEntries::iterator> IteratorPair; typedef std::pair<SvTreeListEntries::iterator, SvTreeListEntries::iterator> IteratorPair;
static SvTreeEntryList dummy; // prevent singular iterator asserts IteratorPair aRet;
IteratorPair aRet(dummy.begin(), dummy.end());
if (!pParent) if (!pParent)
pParent = pRootItem; pParent = pRootItem;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment