Leaf::getInfo () now returns boost::shared_ptr<const NameInfo> instead of NameInfo reference as before.
SyncLogic is temporarily broken
diff --git a/model/sync-diff-state.cc b/model/sync-diff-state.cc
index 75e0be5..65323d3 100644
--- a/model/sync-diff-state.cc
+++ b/model/sync-diff-state.cc
@@ -61,22 +61,26 @@
}
// from State
-void
+bool
DiffState::update (NameInfoConstPtr info, const SeqNo &seq)
{
- m_leaves.erase (*info);
+ m_leaves.erase (info);
DiffLeafPtr leaf = make_shared<DiffLeaf> (info, cref (seq));
m_leaves.insert (leaf);
+
+ return true;
}
-void
+bool
DiffState::remove (NameInfoConstPtr info)
{
- m_leaves.erase (*info);
+ m_leaves.erase (info);
DiffLeafPtr leaf = make_shared<DiffLeaf> (info);
m_leaves.insert (leaf);
+
+ return true;
}
} // ns3