Index: src/core/model/ref-count-base.h |
=================================================================== |
--- a/src/core/model/ref-count-base.h |
+++ b/src/core/model/ref-count-base.h |
@@ -25,6 +25,10 @@ |
#include "simple-ref-count.h" |
+#include "ns3/ns3-module.h" |
+#define NS3_MODULE NS3_CORE_MODULE |
+#include "ns3/ns3-export.h" |
+ |
/** |
* \file |
* \ingroup ptr |
@@ -42,7 +46,7 @@ |
* instead the template \ref ns3::SimpleRefCount. This class is maintained |
* purely for compatibility to avoid breaking the code of users. |
*/ |
-class RefCountBase : public SimpleRefCount<RefCountBase> |
+class NS3_EXPORT RefCountBase : public SimpleRefCount<RefCountBase> |
{ |
public: |
/** |