cdevienne    2004/08/18 14:16:08

  Modified:    include/log4cxx/helpers threadspecificdata.h
  Log:
  Added default parameter 0 to ThreadSpecificData.reset, so a call without
  parameters will just clean the data.
  
  Revision  Changes    Path
  1.11      +1 -1      
logging-log4cxx/include/log4cxx/helpers/threadspecificdata.h
  
  Index: threadspecificdata.h
  ===================================================================
  RCS file: 
/home/cvs/logging-log4cxx/include/log4cxx/helpers/threadspecificdata.h,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- threadspecificdata.h      18 Aug 2004 21:04:56 -0000      1.10
  +++ threadspecificdata.h      18 Aug 2004 21:16:08 -0000      1.11
  @@ -52,7 +52,7 @@
                                        return static_cast<T*>( impl.GetData() 
);
                                }
   
  -                             void reset(T * p)
  +                             void reset(T * p = 0)
                                {
                                        T * tmp = get();
                                        if(tmp)
  
  
  

Reply via email to