Revert "Drop requirement for user code to call CBase_foo::pup(p)"
[charm.git] / tests / charm++ / megatest / inherit.C
index 0a69216c00f29e54dd02c6a4c8f8ab0a450c9d8d..7b3d9818cf358e982f3dabdb30955f75eccb26d7 100644 (file)
@@ -193,7 +193,10 @@ public: \
        virtual void inhVirtual(int t) { \
                if (t!=type+gen+methInh) badMeth(#className,"inhVirtual",t); \
                ((CProxy_inhCoord)coordinator).done();\
-        }
+        }\
+       virtual void pup(PUP::er &p) {\
+               parentName::pup(p);\
+       }\
 
 //Declares the parent method
 #define PARENT(className,type) \