Skip to content

Commit

Permalink
remove const qualifier in bofgraph
Browse files Browse the repository at this point in the history
  • Loading branch information
bha-evs committed Feb 29, 2024
1 parent 8569257 commit 36f1bab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/include/bofstd/bofgraph.h
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ class BofDirGraph

// Element access
// NodeType *Node(uint32_t _Id_U32);
const NodeType *Node(uint32_t _Id_U32);
NodeType *Node(uint32_t _Id_U32);
std::vector<uint32_t> *Neighbour(uint32_t _Id_U32);

IdMap<NodeType> &NodeMap();
Expand Down Expand Up @@ -357,9 +357,9 @@ class BofDirGraph
//}

template <typename NodeType>
const NodeType *BofDirGraph<NodeType>::Node(uint32_t _Id_U32)
NodeType *BofDirGraph<NodeType>::Node(uint32_t _Id_U32)
{
const NodeType *pRts = nullptr;
NodeType *pRts = nullptr;

if (mBofDirGraphParam_X.MultiThreadAware_B)
{
Expand Down

0 comments on commit 36f1bab

Please sign in to comment.