From 36f1bab0a5ff0da595cb3a33f487694dc8169aff Mon Sep 17 00:00:00 2001 From: "HARMEL, Bernard" Date: Thu, 29 Feb 2024 13:07:16 +0100 Subject: [PATCH] remove const qualifier in bofgraph --- lib/include/bofstd/bofgraph.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/include/bofstd/bofgraph.h b/lib/include/bofstd/bofgraph.h index 0308ead..d4fa53c 100644 --- a/lib/include/bofstd/bofgraph.h +++ b/lib/include/bofstd/bofgraph.h @@ -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 *Neighbour(uint32_t _Id_U32); IdMap &NodeMap(); @@ -357,9 +357,9 @@ class BofDirGraph //} template -const NodeType *BofDirGraph::Node(uint32_t _Id_U32) +NodeType *BofDirGraph::Node(uint32_t _Id_U32) { - const NodeType *pRts = nullptr; + NodeType *pRts = nullptr; if (mBofDirGraphParam_X.MultiThreadAware_B) {