Author: andrico
Date: Mon Nov 23 13:30:00 2015
New Revision: 5152
URL: http://svn.gna.org/viewcvs/getfem?rev=5152&view=rev
Log:
small correction in copyable_ptr
Modified:
trunk/getfem/src/getfem/getfem_copyable_ptr.h
Modified: trunk/getfem/src/getfem/getfem_copyable_ptr.h
URL:
http://svn.gna.org/viewcvs/getfem/trunk/getfem/src/getfem/getfem_copyable_ptr.h?rev=5152&r1=5151&r2=5152&view=diff
==============================================================================
--- trunk/getfem/src/getfem/getfem_copyable_ptr.h (original)
+++ trunk/getfem/src/getfem/getfem_copyable_ptr.h Mon Nov 23 13:30:00 2015
@@ -67,9 +67,9 @@
operator bool() const {return p_.operator bool();}
- T& operator*() const {return *p_;}
+ T& operator*() const {return p_.operator*();}
- T& operator->() const {return *p_;}
+ T* operator->() const {return p_.operator->();}
};
} // namespace getfem
_______________________________________________
Getfem-commits mailing list
[email protected]
https://mail.gna.org/listinfo/getfem-commits