Core: Fixed memory info in FreeBSD, ide: Refactoring CodeBase

git-svn-id: svn://ultimatepp.org/upp/trunk@14617 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2020-06-22 06:38:59 +00:00
parent f0e40faf72
commit cd503a34bb
31 changed files with 351 additions and 187 deletions

View file

@ -86,6 +86,12 @@ void CppBase::Sweep(const Index<int>& file, bool keep)
Remove(remove);
}
void CppBase::Append(CppBase&& base)
{
for(int i = 0; i < base.GetCount(); i++)
GetAdd(base.GetKey(i)).Append(pick(base[i]));
}
void CppBase::RemoveFile(int filei)
{
Index<int> h;