diff --git a/grid/alu3dgrid/myautoptr.hh b/grid/alu3dgrid/myautoptr.hh index a986376f06cba28f1a29fc4da29255e251524de6..04d018cdc4349747f0443ddd49ac07deeb7e16d5 100644 --- a/grid/alu3dgrid/myautoptr.hh +++ b/grid/alu3dgrid/myautoptr.hh @@ -68,14 +68,16 @@ public: //! return object reference Pointer & operator * () const { - assert((ptr_ != 0) && (owner_) ); + assert(ptr_ != 0); + assert(owner_); return *ptr_; } //! return object pointer Pointer * operator -> () const { - assert((ptr_ != 0) && (owner_) ); + assert(ptr_ != 0); + assert(owner_); return ptr_; }