ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/GPetrucc/interface/fwlite/Scanner.h
(Generate patch)

Comparing UserCode/GPetrucc/interface/fwlite/Scanner.h (file contents):
Revision 1.8 by gpetrucc, Thu Feb 11 10:12:09 2010 UTC vs.
Revision 1.9 by gpetrucc, Thu Feb 11 11:15:18 2010 UTC

# Line 34 | Line 34 | namespace fwlite {
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              
# Line 167 | Line 167 | namespace fwlite {
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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines