From 2075f75f838c1583820cc5daf1b2bbaa4d4f2f71 Mon Sep 17 00:00:00 2001 From: hyeonseok lee Date: Mon, 17 Jul 2023 20:42:13 +0900 Subject: [PATCH] [graph_node] handle deprecated stl iterator - Explicitly provide the parameter as default parameter for stl iterator is deprecated. Signed-off-by: hyeonseok lee --- nntrainer/graph/graph_node.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nntrainer/graph/graph_node.h b/nntrainer/graph/graph_node.h index 8415d0a..dbb8664 100644 --- a/nntrainer/graph/graph_node.h +++ b/nntrainer/graph/graph_node.h @@ -122,7 +122,8 @@ public: */ template class GraphNodeIterator - : public std::iterator { + : public std::iterator { GraphNodeType *p; /** underlying object of GraphNode */ public: -- 2.7.4