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

Unified Diff: src/config-store/model/attribute-iterator.cc

Issue 334020043: Eliminate Visual Studio compiler warnings (Closed)
Patch Set: Updates to patch for other corrections Created 6 years, 1 month 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/config-store/model/attribute-default-iterator.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/config-store/model/attribute-iterator.cc
===================================================================
--- a/src/config-store/model/attribute-iterator.cc
+++ b/src/config-store/model/attribute-iterator.cc
@@ -22,6 +22,7 @@
#include "ns3/pointer.h"
#include "ns3/object-ptr-container.h"
#include "ns3/string.h"
+#include "ns3/unused.h"
#include <fstream>
@@ -110,6 +111,7 @@
void
AttributeIterator::DoStartVisitArrayAttribute (Ptr<Object> object, std::string name, const ObjectPtrContainerValue &vector)
{
+ NS_UNUSED(vector);
}
void
AttributeIterator::DoEndVisitArrayAttribute (void)
@@ -118,6 +120,8 @@
void
AttributeIterator::DoStartVisitArrayItem (const ObjectPtrContainerValue &vector, uint32_t index, Ptr<Object> item)
{
+ NS_UNUSED(vector);
+ NS_UNUSED(index);
}
void
AttributeIterator::DoEndVisitArrayItem (void)
« no previous file with comments | « src/config-store/model/attribute-default-iterator.cc ('k') | no next file » | no next file with comments »

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