Skip to content
Snippets Groups Projects
  • Rene Brun's avatar
    3ec0bc86
    from Axel: · 3ec0bc86
    Rene Brun authored
    Change the signature of SavePrimitive from
    
      void SavePrimitive(ofstream &out, Option_t *option);
    to
      void SavePrimitive(ostream &out, Option_t *option = "");
    
    With this change one can do, eg
       myhist.SavePrimitive(std::cout);
    
    WARNING: do rm -f tree/src/*.o
    
    
    git-svn-id: http://root.cern.ch/svn/root/trunk@15672 27541ba8-7e3a-0410-8455-c3a389f83636
    3ec0bc86
    History
    from Axel:
    Rene Brun authored
    Change the signature of SavePrimitive from
    
      void SavePrimitive(ofstream &out, Option_t *option);
    to
      void SavePrimitive(ostream &out, Option_t *option = "");
    
    With this change one can do, eg
       myhist.SavePrimitive(std::cout);
    
    WARNING: do rm -f tree/src/*.o
    
    
    git-svn-id: http://root.cern.ch/svn/root/trunk@15672 27541ba8-7e3a-0410-8455-c3a389f83636