diff options
author | Josh Stone <jistone@redhat.com> | 2009-08-03 15:20:19 -0700 |
---|---|---|
committer | Josh Stone <jistone@redhat.com> | 2009-08-03 15:20:19 -0700 |
commit | 3a4235b9897b75a188753419a29f0616c1686249 (patch) | |
tree | bd7c4e67308dca73cf1032e699fe526ad34acbf3 /staptree.cxx | |
parent | 0164a29cfb80344dced2e1683df05f6b62fe6cb3 (diff) | |
download | systemtap-steved-3a4235b9897b75a188753419a29f0616c1686249.tar.gz systemtap-steved-3a4235b9897b75a188753419a29f0616c1686249.tar.xz systemtap-steved-3a4235b9897b75a188753419a29f0616c1686249.zip |
Strengthen the template types in update_visitor
* staptree.h (update_visitor::require, provide): Make the parameters and
return values a T*, to make it explicit that we want pointer types.
Diffstat (limited to 'staptree.cxx')
-rw-r--r-- | staptree.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/staptree.cxx b/staptree.cxx index 50d9980f..11661442 100644 --- a/staptree.cxx +++ b/staptree.cxx @@ -2450,7 +2450,7 @@ update_visitor::visit_hist_op (hist_op* e) } template <> indexable* -update_visitor::require <indexable*> (indexable* src, bool clearok) +update_visitor::require <indexable> (indexable* src, bool clearok) { indexable *dst = NULL; if (src != NULL) |