--- a/src/core/ptr.h Tue Jul 24 16:13:31 2007 +0100
+++ b/src/core/ptr.h Thu Jul 26 08:18:11 2007 +0200
@@ -22,6 +22,7 @@
#ifndef PTR_H
#define PTR_H
+#include <iostream>
#include <stdint.h>
#include "assert.h"
--- a/src/core/random-variable-default-value.cc Tue Jul 24 16:13:31 2007 +0100
+++ b/src/core/random-variable-default-value.cc Thu Jul 26 08:18:11 2007 +0200
@@ -43,7 +43,8 @@
RandomVariableDefaultValue::GetCopy (void)
{
RandomVariable *variable;
- bool ok = Parse (m_value, true, &variable);
+ bool ok;
+ ok = Parse (m_value, true, &variable);
NS_ASSERT (ok);
return variable;
}