diff --git a/include/niflib.h b/include/niflib.h index 877a18b2b5bda25dc2f7953f98a7daab539cf9fe..ce5e87ee6365759be51a5f337fec93bb61f3739d 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.