Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3783)

Unified Diff: src/core/model/string.h

Issue 342120043: New patch for core module changes (Closed)
Patch Set: Updated core patch Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/core/model/string.h
===================================================================
--- a/src/core/model/string.h
+++ b/src/core/model/string.h
@@ -23,6 +23,10 @@
#include <string>
#include "attribute-helper.h"
+#include "ns3/ns3-module.h"
+#define NS3_MODULE NS3_CORE_MODULE
+#include "ns3/ns3-export.h"
+
/**
* \file
* \ingroup attribute_String
@@ -38,9 +42,9 @@
* This class can be used to hold variables of type string,
* that is, either char * or std::string.
*/
-ATTRIBUTE_VALUE_DEFINE_WITH_NAME (std::string, String);
-ATTRIBUTE_ACCESSOR_DEFINE (String);
-ATTRIBUTE_CHECKER_DEFINE (String);
+ATTRIBUTE_VALUE_DEFINE_WITH_NAME_LIB (std::string, String, NS3_EXPORT);
+ATTRIBUTE_ACCESSOR_DEFINE_LIB (String, NS3_EXPORT);
+ATTRIBUTE_CHECKER_DEFINE_LIB (String, NS3_EXPORT);
} // namespace ns3

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b