Skip to content
Snippets Groups Projects
Commit 5a86625c authored by Robert Klöfkorn's avatar Robert Klöfkorn
Browse files

docu added.

[[Imported from SVN: r955]]
parent e9504a5c
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,7 @@ namespace Dune {
ObjPointer (ObjType *t) : item (t) , next (0) {}
//! delete the next ObjPointer and the item
//! need virtual desctructor for deleting the real objects.
virtual ~ObjPointer ()
{
if(next) delete next;next = 0;
......@@ -37,6 +38,7 @@ namespace Dune {
//! make new operator with item points to null
ObjPointerStorage () : item_ (0) {}
//! need virtual desctructor for deleting the real objects.
virtual ~ObjPointerStorage ()
{
if(item_) delete item_;item_ = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment