From 3a4235b9897b75a188753419a29f0616c1686249 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Mon, 3 Aug 2009 15:20:19 -0700 Subject: 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. --- staptree.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'staptree.cxx') 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* src, bool clearok) +update_visitor::require (indexable* src, bool clearok) { indexable *dst = NULL; if (src != NULL) -- cgit