|
|
Orchid XP v8 <voi### [at] devnull> wrote:
> Tree t = build_tree(symbols);
In this case the error messages given by valgrind wouldn't have been
the clearest possible, but they nevertheless point to this line being
the ultimate culprit (which, ultimately, is caused by build_tree() returning
a reference to a local variable).
Anyways, I'm wondering why you are passing the parameter by value rather
than by const reference...
--
- Warp
Post a reply to this message
|
|