Ignore:
Timestamp:
06/04/10 14:55:53 (14 years ago)
Author:
hozdoba
Message:

Suppression de nombreuses fuites mémoires (200kbytes)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XMLIO_V2/dev/dev_rv/xmlio_object_template.hpp

    r95 r96  
    4141         { return (ObjectTemplate<T>::AllListObj[CurrContext].hasMappedValue(_id)); } 
    4242          
    43          static const StrHashMap<T> GetCurrentListObject(void) { return (AllListObj[CurrContext]); } 
     43         static const StrHashMap<T>& GetCurrentListObject(void) { return (AllListObj[CurrContext]); } 
     44         static HashMap<string, StrHashMap<T> >& GetAllListObject(void) { return (AllListObj); } 
    4445                 
    45          static void SetContext(const string& id) 
    46          { ObjectTemplate<T>::CurrContext = id; }  
     46         static void SetContext(const string& id){ ObjectTemplate<T>::CurrContext = id; }  
    4747          
    4848         static string& GetCurrentContextId(void) { return (CurrContext); }  
Note: See TracChangeset for help on using the changeset viewer.