From ddd52bf146e0e71a73c8baf6d94565b6a0bebdaa Mon Sep 17 00:00:00 2001 From: Amorilia <amorilia@users.sourceforge.net> Date: Wed, 21 Sep 2011 19:16:41 +0100 Subject: [PATCH] Use Ref<NiObject> as in the rest of the header. --- include/niflib.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/niflib.h b/include/niflib.h index 877a18b2..ce5e87ee 100644 --- a/include/niflib.h +++ b/include/niflib.h @@ -58,7 +58,6 @@ namespace Niflib { //Classes used class NiObject; -typedef Ref<NiObject> NiObjectRef; class NiNode; class NiAVObject; class NiControllerSequence; @@ -150,7 +149,7 @@ NIFLIB_API Ref<NiObject> ReadNifTree( istream & in, NifInfo * info = NULL ); * \param[in] info A NifInfo structure that contains information such as the version of the NIF file to create. * \sa ReadNifList, WriteNifTree */ -NIFLIB_API void WriteNifTree( ostream & out, list<NiObjectRef> const & roots, list<NiObject *> & missing_link_stack, const NifInfo & info = NifInfo() ); +NIFLIB_API void WriteNifTree( ostream & out, list<Ref<NiObject> > const & roots, list<NiObject *> & missing_link_stack, const NifInfo & info = NifInfo() ); /*! * Creates a new NIF file of the given file name by crawling through the data tree starting with the root object given. -- GitLab