Index: trunk/MagicSoft/Mars/mhist/MHCamera.cc
===================================================================
--- trunk/MagicSoft/Mars/mhist/MHCamera.cc	(revision 7821)
+++ trunk/MagicSoft/Mars/mhist/MHCamera.cc	(revision 7822)
@@ -1732,4 +1732,9 @@
 }
 
+void MHCamera::SavePrimitive(ofstream &out, Option_t *)
+{
+    MHCamera::SavePrimitive(static_cast<ostream&>(out), "");
+}
+
 // ------------------------------------------------------------------------
 //
Index: trunk/MagicSoft/Mars/mhist/MHCamera.h
===================================================================
--- trunk/MagicSoft/Mars/mhist/MHCamera.h	(revision 7821)
+++ trunk/MagicSoft/Mars/mhist/MHCamera.h	(revision 7822)
@@ -211,5 +211,6 @@
     void     DrawAzimuthProfile()          const;
 
-    void     SavePrimitive(ofstream &out, Option_t *);
+    void     SavePrimitive(ostream &out, Option_t *);
+    void     SavePrimitive(ofstream &out, Option_t *) { MHCamera::SavePrimitive(static_cast<ostream&>(out), ""); }
     Int_t    DistancetoPrimitive(Int_t px, Int_t py);
     char    *GetObjectInfo(Int_t px, Int_t py) const;
