From 9c09edd00a5b65607bf65f70fe16c951a3e3e499 Mon Sep 17 00:00:00 2001 From: Axel Naumann <Axel.Naumann@cern.ch> Date: Wed, 26 Mar 2008 16:07:05 +0000 Subject: [PATCH] Add forgotten OwnedPropertyList.cxx git-svn-id: http://root.cern.ch/svn/root/trunk@22851 27541ba8-7e3a-0410-8455-c3a389f83636 --- cint/reflex/src/OwnedPropertyList.cxx | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 cint/reflex/src/OwnedPropertyList.cxx diff --git a/cint/reflex/src/OwnedPropertyList.cxx b/cint/reflex/src/OwnedPropertyList.cxx new file mode 100644 index 00000000000..75d1a0665bf --- /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; + } +} -- GitLab