Skip to content

Commit

Permalink
close [MW-1197] WORKBENCH DOESN'T DELETE ALL SELECTED ROWS WHEN DELET…
Browse files Browse the repository at this point in the history
…ING FROM RESULT GRID

Backend: tree_model: fix operator < so it fulfill strict weak ordering
this causes problem on OSX with libc++
review by Mike
  • Loading branch information
Marcin Szalowicz committed Jan 29, 2016
1 parent 2aef031 commit 87840f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/wbpublic/grt/tree_model.cpp
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2007, 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
Expand Down Expand Up @@ -127,7 +127,7 @@ bool NodeId::operator < (const NodeId &r) const
// less than @r becomes false, therefore this node is greater than @r.
for (size_t i = 0; i < index->size(); ++i)
{
if ((*index)[i] > (*r.index)[i])
if ((*index)[i] >= (*r.index)[i])
{
ret = false;
break;
Expand Down

0 comments on commit 87840f4

Please sign in to comment.