--- a/src/core/object.cc Sat Mar 01 19:55:16 2008 +0100
+++ b/src/core/object.cc Sat Mar 01 20:20:14 2008 +0100
@@ -809,19 +809,21 @@
bool ok = DoSet (&info, value);
return ok;
}
-void
+bool
AttributeList::SetWithTid (TypeId tid, std::string name, Attribute value)
{
struct TypeId::AttributeInfo info;
tid.LookupAttributeByName (name, &info);
- DoSet (&info, value);
+ bool ok = DoSet (&info, value);
+ return ok;
}
-void
+bool
AttributeList::SetWithTid (TypeId tid, uint32_t position, Attribute value)
{
struct TypeId::AttributeInfo info;
tid.LookupAttributeByPosition (position, &info);
- DoSet (&info, value);
+ bool ok = DoSet (&info, value);
+ return ok;
}
void