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/GraphWidget.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/GraphWidget.cxx')
-rw-r--r-- | grapher/GraphWidget.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grapher/GraphWidget.cxx b/grapher/GraphWidget.cxx index d42e1a79..cee1a6d2 100644 --- a/grapher/GraphWidget.cxx +++ b/grapher/GraphWidget.cxx @@ -74,7 +74,7 @@ namespace systemtap { } - void GraphWidget::addGraphData(std::tr1::shared_ptr<GraphDataBase> data) + void GraphWidget::addGraphData(shared_ptr<GraphDataBase> data) { _graphs[0]->addGraphData(data); _graphData.push_back(data); |