From 58f37adf55bbaf7aa057bebf1ae37f8124f45c46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=93=E8=88=AA?= <1210603696@qq.com> Date: Tue, 10 Feb 2015 22:00:00 +0800 Subject: [PATCH] delete inline --- TinySTL/Graph.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/TinySTL/Graph.h b/TinySTL/Graph.h index fafdadb..7a9e96e 100644 --- a/TinySTL/Graph.h +++ b/TinySTL/Graph.h @@ -48,7 +48,6 @@ namespace TinySTL{ void DFS(const Index& index, visiter_func_type func); void BFS(const Index& index, visiter_func_type func); - //node_type& new_node(const Index& index, const Value& val); node_type make_node(const Index& index, const Value& val); node_type& get_node(const Index& index); @@ -57,12 +56,12 @@ namespace TinySTL{ nodes_set_type adjacent_nodes(const Index& index); nodes_set_type adjacent_nodes(const node_type& n); - inline bool empty()const; - inline size_t size()const; - inline inner_iterator begin(const Index& index); - inline inner_iterator end(const Index& index); - inline iterator begin(); - inline iterator end(); + bool empty()const; + size_t size()const; + inner_iterator begin(const Index& index); + inner_iterator end(const Index& index); + iterator begin(); + iterator end(); equal_func_type get_equal_func()const; string to_string();