diff options
Diffstat (limited to 'staptree.cxx')
-rw-r--r-- | staptree.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/staptree.cxx b/staptree.cxx index 173314ee..6d001375 100644 --- a/staptree.cxx +++ b/staptree.cxx @@ -82,6 +82,14 @@ probe_point::probe_point (std::vector<component*> const & comps, { } +// 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), + condition (pp.condition) +{ +} + + probe_point::probe_point (): tok (0), optional (false), sufficient (false), condition (0) { |