Skip to content

Commit

Permalink
remove GetStorage from graph
Browse files Browse the repository at this point in the history
  • Loading branch information
bha-evs committed Feb 15, 2024
1 parent 19be32f commit 7e51d87
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/include/bofstd/bofgraph.h
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ class IdMap
iterator Find(uint32_t _Id_U32);
const_iterator Find(uint32_t _Id_U32) const;
bool Contain(uint32_t _Id_U32) const;
ElementType *GetStorage(uint32_t _Id_U32);
//Use Node() fct and not ElementType *GetStorage(uint32_t _Id_U32);

private:
std::vector<ElementType> mElementCollection;
Expand Down Expand Up @@ -261,7 +261,8 @@ bool IdMap<ElementType>::Contain(uint32_t _Id_U32) const
}
return Rts_B;
}

//Use Node() fct and not
/*
template <typename ElementType>
ElementType *IdMap<ElementType>::GetStorage(uint32_t _Id_U32)
{
Expand All @@ -277,7 +278,7 @@ ElementType *IdMap<ElementType>::GetStorage(uint32_t _Id_U32)
}
return pRts;
}

*/
// a very simple directional graph
template <typename NodeType>
class BofDirGraph
Expand Down

0 comments on commit 7e51d87

Please sign in to comment.