From: Rene Gassmoeller Date: Fri, 11 Dec 2015 04:21:06 +0000 (-0600) Subject: Provide serialization for long long TableEntry X-Git-Tag: v8.4.0-rc2~163^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97b223135418fdee11b3c9669efb94bc378c19b0;p=dealii.git Provide serialization for long long TableEntry --- diff --git a/include/deal.II/base/table_handler.h b/include/deal.II/base/table_handler.h index 34de941ea8..e23d698367 100644 --- a/include/deal.II/base/table_handler.h +++ b/include/deal.II/base/table_handler.h @@ -734,6 +734,11 @@ namespace internal char c = 's'; ar &c & *p; } + else if (const unsigned long long int *p = boost::get(&value)) + { + char c = 'l'; + ar &c & *p; + } else Assert (false, ExcInternalError()); } @@ -785,6 +790,14 @@ namespace internal break; } + case 'l': + { + unsigned long long int val; + ar &val; + value = val; + break; + } + default: Assert (false, ExcInternalError()); }