--- a/src/core/object.cc Wed Feb 27 20:48:43 2008 +0100
+++ b/src/core/object.cc Wed Feb 27 21:41:34 2008 +0100
@@ -25,6 +25,7 @@
#include "attribute.h"
#include "trace-source-accessor.h"
#include "log.h"
+#include "string.h"
#include <vector>
#include <sstream>
@@ -860,7 +861,7 @@
}
// attempt to convert back to value.
Attribute v = info->initialValue.Copy ();
- ok = v.DeserializeFromString (str->Get (), info->checker);
+ ok = v.DeserializeFromString (str->Get ().Get (), info->checker);
if (!ok)
{
return false;
@@ -1087,7 +1088,7 @@
}
// attempt to convert back from string.
Attribute v = initialValue.Copy ();
- ok = v.DeserializeFromString (str->Get (), checker);
+ ok = v.DeserializeFromString (str->Get ().Get (), checker);
if (!ok)
{
return false;