mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-24 03:40:34 +05:00
Merge branch 'archive_table' into 'master'
archive Table See merge request jschoeberl/netgen!396
This commit is contained in:
commit
117095823e
@ -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