diff --git a/backend/wbpublic/grt/tree_model.cpp b/backend/wbpublic/grt/tree_model.cpp index ee0efa6f2..879fc3a80 100644 --- a/backend/wbpublic/grt/tree_model.cpp +++ b/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 @@ -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;