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

Unified Diff: src/core/examples/main-ptr.cc

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/examples/main-callback.cc ('k') | src/core/examples/main-random-variable.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/examples/main-ptr.cc
===================================================================
--- a/src/core/examples/main-ptr.cc
+++ b/src/core/examples/main-ptr.cc
@@ -19,6 +19,8 @@
#include "ns3/ptr.h"
#include "ns3/object.h"
+#include "ns3/command-line.h"
+
#include <iostream>
/**
@@ -92,6 +94,9 @@
int main (int argc, char *argv[])
{
+ CommandLine cmd;
+ cmd.Parse(argc, argv);
+
{
// Create a new object of type PtrExample, store it in global
// variable g_ptr
« no previous file with comments | « src/core/examples/main-callback.cc ('k') | src/core/examples/main-random-variable.cc » ('j') | no next file with comments »

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