From 178567b32b75feab56377f692232e36a24ff5d0e Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Tue, 8 Jul 2008 10:19:34 -0700 Subject: [PATCH] add PythonCompleteConstruct friend for python bindings --- src/core/object.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core/object.h b/src/core/object.h index cb9dc5884..c28c3d6c8 100644 --- a/src/core/object.h +++ b/src/core/object.h @@ -198,6 +198,10 @@ private: friend Ptr CopyObject (Ptr object); template friend Ptr CopyObject (Ptr object); + // The following friend method declaration is used only + // by our python bindings to call the protected ObjectBase::Construct + // method. + friend void PythonCompleteConstruct (Ptr object, TypeId typeId, const AttributeList &attributes); friend class ObjectFactory; friend class AggregateIterator;