remove object vector usage to allow object map to work with config store

This commit is contained in:
Mathieu Lacage
2011-08-11 08:11:38 +02:00
parent 3bb5f0c770
commit 17818decf4
2 changed files with 2 additions and 3 deletions

View File

@@ -19,10 +19,10 @@
#include "attribute-default-iterator.h"
#include "ns3/attribute.h"
#include "ns3/object-vector.h"
#include "ns3/pointer.h"
#include "ns3/global-value.h"
#include "ns3/string.h"
#include "ns3/object-ptr-container.h"
namespace ns3
{
@@ -70,7 +70,7 @@ AttributeDefaultIterator::Iterate (void)
//No value, check next attribute
continue;
}
Ptr<const ObjectVectorValue> vector = DynamicCast<const ObjectVectorValue> (info.initialValue);
Ptr<const ObjectPtrContainerValue> vector = DynamicCast<const ObjectPtrContainerValue> (info.initialValue);
if (vector != 0)
{
//a vector value, won't take it

View File

@@ -18,7 +18,6 @@
*/
#include "attribute-iterator.h"
#include "ns3/object-vector.h"
#include <gtk/gtk.h>
namespace ns3