summaryrefslogtreecommitdiffstats
path: root/staptree.h
diff options
context:
space:
mode:
authorfche <fche>2007-12-11 13:45:28 +0000
committerfche <fche>2007-12-11 13:45:28 +0000
commitb2199bb3837e6b3aacb7ad25d7ed4dca15dd41f7 (patch)
treec5fb59a95504a51a5c7b210fdb5baebd8d7f006e /staptree.h
parentc5a87761a4b7178901c7b83d269023995b4f2f53 (diff)
downloadsystemtap-steved-b2199bb3837e6b3aacb7ad25d7ed4dca15dd41f7.tar.gz
systemtap-steved-b2199bb3837e6b3aacb7ad25d7ed4dca15dd41f7.tar.xz
systemtap-steved-b2199bb3837e6b3aacb7ad25d7ed4dca15dd41f7.zip
PR5017: gcc4.3 build fixes
2007-12-11 Frank Ch. Eigler <fche@elastic.org> * staptree.cxx, staptree.h: More GCC 4.3 build fixes from Eugeniy Meshcheryakov <eugen@debian.org>.
Diffstat (limited to 'staptree.h')
-rw-r--r--staptree.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/staptree.h b/staptree.h
index 9e32d16b..a1a5ebd2 100644
--- a/staptree.h
+++ b/staptree.h
@@ -835,7 +835,7 @@ struct deep_copy_visitor: public visitor
virtual void visit_hist_op (hist_op* e);
};
-template <typename T> static void
+template <typename T> void
require (deep_copy_visitor* v, T* dst, T src)
{
*dst = NULL;
@@ -874,7 +874,7 @@ require <indexable *> (deep_copy_visitor* v, indexable** dst, indexable* src)
}
}
-template <typename T> static void
+template <typename T> void
provide (deep_copy_visitor* v, T src)
{
assert(!v->targets.empty());