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 |