You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ga...@apache.org on 2003/10/16 11:21:53 UTC

cvs commit: xml-xerces/c/src/xercesc/validators/schema SchemaElementDecl.cpp

gareth      2003/10/16 02:21:53

  Modified:    c/src/xercesc/validators/schema SchemaElementDecl.cpp
  Log:
  use correct new.
  
  Revision  Changes    Path
  1.13      +4 -1      xml-xerces/c/src/xercesc/validators/schema/SchemaElementDecl.cpp
  
  Index: SchemaElementDecl.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/validators/schema/SchemaElementDecl.cpp,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- SchemaElementDecl.cpp	14 Oct 2003 15:22:28 -0000	1.12
  +++ SchemaElementDecl.cpp	16 Oct 2003 09:21:53 -0000	1.13
  @@ -56,6 +56,9 @@
   
   /*
    * $Log$
  + * Revision 1.13  2003/10/16 09:21:53  gareth
  + * use correct new.
  + *
    * Revision 1.12  2003/10/14 15:22:28  peiyongz
    * Implementation of Serialization/Deserialization
    *
  @@ -532,7 +535,7 @@
   
               for (int itemIndex = 0; itemIndex < itemNumber; itemIndex++)
               {
  -                SchemaAttDef*  data = new SchemaAttDef();
  +                SchemaAttDef*  data = new (getMemoryManager())SchemaAttDef();
                   data->serialize(serEng);            
                   fAttDefs->put(data->getAttName()->getLocalPart(), data->getId(), data);                
               }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org