mcatan      2004/04/24 01:15:44

  Modified:    include/log4cxx/helpers objectptr.h
  Log:
  "(int null)" -> "(const int& null)"  (fix for solaris)
  
  Revision  Changes    Path
  1.8       +2 -2      logging-log4cxx/include/log4cxx/helpers/objectptr.h
  
  Index: objectptr.h
  ===================================================================
  RCS file: /home/cvs/logging-log4cxx/include/log4cxx/helpers/objectptr.h,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- objectptr.h       24 Apr 2004 06:55:01 -0000      1.7
  +++ objectptr.h       24 Apr 2004 08:15:44 -0000      1.8
  @@ -48,7 +48,7 @@
                                }
                        }*/
   
  -                     ObjectPtrT(int null) //throw(IllegalArgumentException)
  +                     ObjectPtrT(const int& null) 
//throw(IllegalArgumentException)
                                : p(0)
                        {
                                if (null != 0)
  @@ -113,7 +113,7 @@
                                return *this;
               }
   
  -                     ObjectPtrT& operator=(int null) 
//throw(IllegalArgumentException)
  +                     ObjectPtrT& operator=(const int& null) 
//throw(IllegalArgumentException)
                        {
                                if (null != 0)
                                {
  
  
  

Reply via email to