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

Unified Diff: src/core/model/des-metrics.h

Issue 342870043: Visual Studio conditional code for core module (Closed)
Patch Set: Updates to resolve review comments Created 5 years, 11 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
« no previous file with comments | « src/core/model/default-simulator-impl.h ('k') | src/core/model/double.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/model/des-metrics.h
===================================================================
--- a/src/core/model/des-metrics.h
+++ b/src/core/model/des-metrics.h
@@ -21,6 +21,10 @@
#ifndef DESMETRICS_H
#define DESMETRICS_H
+#include "ns3/ns3-module.h"
+#define NS3_MODULE NS3_CORE_MODULE
+#include "ns3/ns3-export.h"
+
/**
* @file
* @ingroup simulator
@@ -105,7 +109,7 @@
* \code wc -l *.json | sort -n | tail -2 \endcode
*
*/
-class DesMetrics : public Singleton<DesMetrics>
+class NS3_EXPORT DesMetrics : public Singleton<DesMetrics>
{
public:
« no previous file with comments | « src/core/model/default-simulator-impl.h ('k') | src/core/model/double.h » ('j') | no next file with comments »

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