diff --git a/cint/reflex/src/OwnedPropertyList.cxx b/cint/reflex/src/OwnedPropertyList.cxx new file mode 100644 index 0000000000000000000000000000000000000000..75d1a0665bf148dc68137a3a312bad643beb3443 --- /dev/null +++ b/cint/reflex/src/OwnedPropertyList.cxx @@ -0,0 +1,27 @@ +// @(#)root/reflex:$Id$ +// Author: Axel Naumann, 2008 + +// Copyright CERN, CH-1211 Geneva 23, 2004-2006, All rights reserved. +// +// Permission to use, copy, modify, and distribute this software for any +// purpose is hereby granted without fee, provided that this copyright and +// permissions notice appear in all copies and derivatives. +// +// This software is provided "as is" without express or implied warranty. + +#ifndef REFLEX_BUILD +#define REFLEX_BUILD +#endif + +#include "Reflex/internal/OwnedPropertyList.h" + +//------------------------------------------------------------------------------- +void Reflex::OwnedPropertyList::Delete() { +//------------------------------------------------------------------------------- +// Delete the list of properties. We can do it because we own it. +// Must be outlined to match the new() within Reflex. + if ( fPropertyListImpl ) { + delete fPropertyListImpl; + fPropertyListImpl = 0; + } +}