correct parameter in calling m_onUpdate in sync-logic.cc
add -O0 -g3 in CXXFLAGS for debugging
diff --git a/model/sync-logic.cc b/model/sync-logic.cc
index d51a3a6..43fee90 100644
--- a/model/sync-logic.cc
+++ b/model/sync-logic.cc
@@ -221,7 +221,7 @@
if (inserted || updated)
{
diffLog->update (info, seq);
- m_onUpdate (info->toString (), seq.getSeq(), oldSeq);
+ m_onUpdate (info->toString (), seq, oldSeq);
}
}
}
@@ -247,7 +247,7 @@
if (inserted || updated)
{
diffLog->update (info, seq);
- m_onUpdate (info->toString (), seq.getSeq(), oldSeq);
+ m_onUpdate (info->toString (), seq, oldSeq);
}
}
else if (diffLeaf->getOperation() == REMOVE)