]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Provide serialization for long long TableEntry 1977/head
authorRene Gassmoeller <R.Gassmoeller@mailbox.org>
Fri, 11 Dec 2015 04:21:06 +0000 (22:21 -0600)
committerRene Gassmoeller <R.Gassmoeller@mailbox.org>
Fri, 11 Dec 2015 04:21:06 +0000 (22:21 -0600)
include/deal.II/base/table_handler.h

index 34de941ea81643cd3abe2a5e7eab107c2cdcb1d7..e23d6983679fe8d0ef4ff8cc0698a6e499040943 100644 (file)
@@ -734,6 +734,11 @@ namespace internal
         char c = 's';
         ar &c & *p;
       }
+    else if (const unsigned long long int *p = boost::get<unsigned long long int>(&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());
       }

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.