mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
archive Table
This commit is contained in:
parent
a89cf0089a
commit
6f044faaba
@ -168,6 +168,13 @@ namespace ngcore
|
|||||||
Swap (data, tab2.data);
|
Swap (data, tab2.data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void DoArchive(Archive& ar)
|
||||||
|
{
|
||||||
|
ar & size;
|
||||||
|
ar.Do(index, size+1);
|
||||||
|
ar.Do(data, index[size]);
|
||||||
|
}
|
||||||
|
|
||||||
NETGEN_INLINE Table & operator= (Table && tab2)
|
NETGEN_INLINE Table & operator= (Table && tab2)
|
||||||
{
|
{
|
||||||
mt.Swap(GetMemUsage(), tab2.mt, tab2.GetMemUsage());
|
mt.Swap(GetMemUsage(), tab2.mt, tab2.GetMemUsage());
|
||||||
|
Loading…
Reference in New Issue
Block a user