ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/DataCont/interface/Ref.h
(Generate patch)

Comparing UserCode/MitAna/DataCont/interface/Ref.h (file contents):
Revision 1.6 by loizides, Tue Mar 24 05:44:14 2009 UTC vs.
Revision 1.7 by bendavid, Sun Sep 19 23:46:08 2010 UTC

# Line 68 | Line 68 | TObject *mithep::Ref<ArrayElement>::GetO
68      return 0;
69    }
70  
71 <  return RefResolver::GetObjectWithID(fUID,pid);
71 >  TObject *obj = RefResolver::GetObjectWithID(fUID,pid);
72 >  if (!obj) {
73 >    Fatal("Ref::GetObject","Null pointer for valid ref!");
74 >  }
75 >  
76 >  return obj;
77   }
78  
79   //--------------------------------------------------------------------------------------------------

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines