Changeset 636

Show
Ignore:
Timestamp:
09/27/09 00:58:01 (15 years ago)
Author:
smidl
Message:

missing pointer is a serious error - abort - this should not happen in matlab, if it happens a debugger is needed

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/shared_ptr.h

    r570 r636  
    123123        */ 
    124124        T *operator->() { 
    125                 bdm_assert_debug ( payload, "dereferencing NULL" ); 
     125                if ( !payload) {abort();};// "dereferencing NULL" ); 
    126126                return payload; 
    127127        }