Revert "Drop requirement for user code to call CBase_foo::pup(p)"
[charm.git] / doc / charm++ / arrays.tex
index 1093b8744dac768f07d47b4b46cd144bb6c46928..e57fe181988e09fc33ff23e7287f1c1adf6a000c 100644 (file)
@@ -683,6 +683,7 @@ public:
 //In the .C file:
 void A2::pup(PUP::er \&p)
 \{
+    CBase\_A2::pup(p); //<- MUST call superclass's pup routine
     p|nt;
     p|chr;
     p(flt,7);