34 |
|
maxLinesToPrint_(50) |
35 |
|
{ |
36 |
|
objType = helper::Parser::elementType(Reflex::Type::ByTypeInfo(HandleT::TempWrapT::typeInfo())); |
37 |
< |
eventSelectors_.SetOwner(); |
37 |
> |
//eventSelectors_.SetOwner(); // better a few leaks for lazy users than a few crashes for unweary ones |
38 |
|
} |
39 |
|
|
40 |
|
|
167 |
|
// prep the machinery |
168 |
|
helper::ScannerBase scanner(objType); |
169 |
|
scanner.setIgnoreExceptions(ignoreExceptions_); |
170 |
< |
if (!scanner.addExpression(xexpr)) return 0; |
171 |
< |
if (!scanner.addExpression(yexpr)) return 0; |
170 |
> |
if (!scanner.addExpression(xexpr.Data())) return 0; |
171 |
> |
if (!scanner.addExpression(yexpr.Data())) return 0; |
172 |
|
if (strlen(cut)) scanner.setCut(cut); |
173 |
|
|
174 |
|
// make histo, if needed |