diff --git a/uppsrc/Core/InVector.h b/uppsrc/Core/InVector.h index 3c1d99ff4..b23bd2dae 100644 --- a/uppsrc/Core/InVector.h +++ b/uppsrc/Core/InVector.h @@ -454,6 +454,9 @@ public: ConstIterator Begin() const { return iv.Begin(); } ConstIterator End() const { return iv.End(); } ConstIterator GetIter(int pos) const { return iv.GetIter(pos); } + + const InVector& GetKeys() { return iv; } + SortedIndex() {} SortedIndex(const SortedIndex& s, int) : iv(s.iv, 1) {} @@ -513,7 +516,8 @@ public: bool IsPicked() const { return value.IsPicked() || key.IsPicked(); } - const SortedIndex& GetKeys() const { return key; } + const SortedIndex& GetIndex() const { return key; } + const InVector& GetKeys() const { return key.GetKeys(); } const InVector& GetValues() const { return value; } SortedAMap() { SetSlave(); }