Index: src/core/helper/random-variable-stream-helper.cc |
=================================================================== |
--- a/src/core/helper/random-variable-stream-helper.cc |
+++ b/src/core/helper/random-variable-stream-helper.cc |
@@ -39,8 +39,9 @@ |
NS_LOG_FUNCTION_NOARGS (); |
NS_ASSERT (stream >= 0); |
Config::MatchContainer mc = Config::LookupMatches (path); |
- int64_t i = 0; |
- for (Config::MatchContainer::Iterator mci = mc.Begin (); mci != mc.End (); ++mci, ++i) |
+ |
+ std::size_t i = 0; |
+ for ( ; i < mc.GetN (); ++i) |
{ |
PointerValue ptr = mc.Get (i); |
Ptr<RandomVariableStream> rvs = ptr.Get<RandomVariableStream> (); |