diff options
author | Tim Moore <timoore@redhat.com> | 2009-10-14 17:46:31 +0200 |
---|---|---|
committer | Tim Moore <timoore@redhat.com> | 2009-10-14 17:46:31 +0200 |
commit | c48433dce0d0362b4744a9a4560c6526884fc140 (patch) | |
tree | 633ab529d4119fd0cccfc354d3308d3382366f98 /grapher/Graph.cxx | |
parent | 8c41e846e74026844d4b3e43778e53160f7dc27c (diff) | |
download | systemtap-steved-c48433dce0d0362b4744a9a4560c6526884fc140.tar.gz systemtap-steved-c48433dce0d0362b4744a9a4560c6526884fc140.tar.xz systemtap-steved-c48433dce0d0362b4744a9a4560c6526884fc140.zip |
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
Diffstat (limited to 'grapher/Graph.cxx')
-rw-r--r-- | grapher/Graph.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<GraphDataBase> data) + void Graph::addGraphData(shared_ptr<GraphDataBase> data) { _datasets.push_back(data); } |