Changed: Minor changes

--HG--
branch : develop
This commit is contained in:
kervala 2016-11-04 09:14:08 +01:00
parent 37d34a2f0f
commit b7c008c014

View file

@ -432,6 +432,7 @@ public:
{
// nothing to do
}
void onAdd(uint addIndex, uint refIndex, TStringDiffContext &context)
{
TStringInfo si = context.Addition[addIndex];
@ -442,6 +443,7 @@ public:
nlinfo("Added %s at %u", si.Identifier.c_str(), addIndex);
context.Diff.push_back(si);
}
void onRemove(uint addIndex, uint refIndex, TStringDiffContext &context)
{
TStringInfo si = context.Reference[refIndex];
@ -453,6 +455,7 @@ public:
nlinfo("Removed %s at %u", si.Identifier.c_str(), addIndex);
context.Diff.push_back(si);
}
void onChanged(uint addIndex, uint refIndex, TStringDiffContext &context)
{
TStringInfo si = context.Addition[addIndex];
@ -475,8 +478,6 @@ public:
si.Comments = ucstring(temp) + nl + nl;
context.Diff.push_back(si);
}
};