From 1d2636d76df3f6fd5eb0148f9284185561b0d2ab Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 5 Nov 2011 02:13:28 +0000 Subject: [PATCH] Remove what is IMHO an unnecessarily confusing typedef. git-svn-id: svn://localhost/ardour2/branches/3.0@10454 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/graph.h | 1 - libs/ardour/graphnode.cc | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/ardour/ardour/graph.h b/libs/ardour/ardour/graph.h index 0fa5b2f6c8..18a8c7a4c9 100644 --- a/libs/ardour/ardour/graph.h +++ b/libs/ardour/ardour/graph.h @@ -48,7 +48,6 @@ class Route; class Session; typedef boost::shared_ptr node_ptr_t; -typedef boost::shared_ptr graph_ptr_t; typedef std::list< node_ptr_t > node_list_t; typedef std::set< node_ptr_t > node_set_t; diff --git a/libs/ardour/graphnode.cc b/libs/ardour/graphnode.cc index 8a2deed808..a919efcff3 100644 --- a/libs/ardour/graphnode.cc +++ b/libs/ardour/graphnode.cc @@ -24,7 +24,7 @@ using namespace ARDOUR; -GraphNode::GraphNode (graph_ptr_t graph) +GraphNode::GraphNode (boost::shared_ptr graph) : _graph(graph) { }