diff --git a/libsrc/core/archive.hpp b/libsrc/core/archive.hpp index 201305b3..0d86df83 100644 --- a/libsrc/core/archive.hpp +++ b/libsrc/core/archive.hpp @@ -333,11 +333,11 @@ namespace ngcore } template - constexpr size_t TotSize (T & first, Trest & ...rest) const + static constexpr size_t TotSize (T & first, Trest & ...rest) { return sizeof(first) + TotSize(rest...); } - constexpr size_t TotSize () const { return 0; } + static constexpr size_t TotSize () { return 0; } template