diff --git a/code/nel/include/nel/misc/smart_ptr.h b/code/nel/include/nel/misc/smart_ptr.h index 1c470a0ba..0e7cb4ece 100644 --- a/code/nel/include/nel/misc/smart_ptr.h +++ b/code/nel/include/nel/misc/smart_ptr.h @@ -37,11 +37,11 @@ namespace NLMISC * \author Nevrax France * \date 2000 */ -class NLMISC_API CRefCount +class CRefCount { public: /// Destructor which release pinfo if necessary. - ~CRefCount(); + NLMISC_API ~CRefCount(); /// Default constructor init crefs to 0. CRefCount() { crefs = 0; pinfo = &NullPtrInfo; } @@ -63,7 +63,7 @@ public: }; // OWN null for ref ptr. (Optimisations!!!) - static CPtrInfoBase NullPtrInfo; + NLMISC_API static CPtrInfoBase NullPtrInfo; friend struct CPtrInfo; // for special case use only. diff --git a/code/nel/include/nel/misc/thread.h b/code/nel/include/nel/misc/thread.h index c02395d3a..3eb7c99e1 100644 --- a/code/nel/include/nel/misc/thread.h +++ b/code/nel/include/nel/misc/thread.h @@ -164,7 +164,7 @@ public: * Return a pointer on the current process. * Implemented in the derived class. */ - static IProcess *getCurrentProcess (); + NLMISC_API static IProcess *getCurrentProcess (); /** * Return process CPU mask. Each bit stand for a CPU usable by the process threads.