From c48433dce0d0362b4744a9a4560c6526884fc140 Mon Sep 17 00:00:00 2001 From: Tim Moore Date: Wed, 14 Oct 2009 17:46:31 +0200 Subject: cleanup of graph data parser, using Boost functions where useful * grapher/StapParser.cxx (commaSplit): Use Boost string split function (findTaggedValue): Return bool instead of position (ioCallback): Avoid using hard-coded string lengths --- grapher/Graph.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'grapher/Graph.cxx') diff --git a/grapher/Graph.cxx b/grapher/Graph.cxx index 496b85b1..a7fe6fcf 100644 --- a/grapher/Graph.cxx +++ b/grapher/Graph.cxx @@ -234,7 +234,7 @@ namespace systemtap } - void Graph::addGraphData(std::tr1::shared_ptr data) + void Graph::addGraphData(shared_ptr data) { _datasets.push_back(data); } -- cgit