(file) Return to ArrayImpl.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/ArrayImpl.h between version 1.32 and 1.33

version 1.32, 2006/05/10 19:40:38 version 1.33, 2006/08/09 20:03:27
Line 364 
Line 364 
 PEGASUS_ARRAY_T& Array<PEGASUS_ARRAY_T>::operator[]( PEGASUS_ARRAY_T& Array<PEGASUS_ARRAY_T>::operator[](
     Uint32 index)     Uint32 index)
 { {
 #ifndef PEGASUS_ARRAY_NO_THROW  
     if (index >= Array_size)     if (index >= Array_size)
         ArrayThrowIndexOutOfBoundsException();         ArrayThrowIndexOutOfBoundsException();
 #endif  
  
     if (Array_refs.get() != 1)     if (Array_refs.get() != 1)
         _rep = ArrayRep<PEGASUS_ARRAY_T>::copy_on_write(Array_rep);         _rep = ArrayRep<PEGASUS_ARRAY_T>::copy_on_write(Array_rep);
Line 381 
Line 379 
 const PEGASUS_ARRAY_T& Array<PEGASUS_ARRAY_T>::operator[]( const PEGASUS_ARRAY_T& Array<PEGASUS_ARRAY_T>::operator[](
     Uint32 index) const     Uint32 index) const
 { {
 #ifndef PEGASUS_ARRAY_NO_THROW  
     if (index >= Array_size)     if (index >= Array_size)
         ArrayThrowIndexOutOfBoundsException();         ArrayThrowIndexOutOfBoundsException();
 #endif  
  
     return Array_data[index];     return Array_data[index];
 } }


Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2