diff --git a/libsrc/core/hashtable.hpp b/libsrc/core/hashtable.hpp index 408cec4c..dd985fda 100644 --- a/libsrc/core/hashtable.hpp +++ b/libsrc/core/hashtable.hpp @@ -46,8 +46,8 @@ namespace ngcore class IVec { /// data - // T i[(N>0)?N:1]; - std::array i; + T i[(N>0)?N:1]; + // std::array i; public: /// @@ -82,7 +82,8 @@ namespace ngcore template void DoArchive(ARCHIVE& ar) { - ar.Do(i.begin(), N); + // ar.Do(i.begin(), N); + ar.Do(i, N); } template