From f1a0157a5bacc6c7f739a621ee86fec2be9b0080 Mon Sep 17 00:00:00 2001 From: Charley Wang Date: Tue, 10 Nov 2009 12:22:18 -0500 Subject: PR10877: Give token* to each component instead of each probe_point --- staptree.cxx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'staptree.cxx') diff --git a/staptree.cxx b/staptree.cxx index bc552454..4c3b3090 100644 --- a/staptree.cxx +++ b/staptree.cxx @@ -76,23 +76,22 @@ symboldecl::~symboldecl () { } -probe_point::probe_point (std::vector const & comps, - const token * t): - components(comps), tok(t), optional (false), sufficient (false), +probe_point::probe_point (std::vector const & comps): + components(comps), optional (false), sufficient (false), condition (0) { } // NB: shallow-copy of compoonents & condition! probe_point::probe_point (const probe_point& pp): - components(pp.components), tok(pp.tok), optional (pp.optional), sufficient (pp.sufficient), + components(pp.components), optional (pp.optional), sufficient (pp.sufficient), condition (pp.condition) { } probe_point::probe_point (): - tok (0), optional (false), sufficient (false), condition (0) + optional (false), sufficient (false), condition (0) { } -- cgit