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

Diff for /pegasus/src/Pegasus/Common/Memory.h between version 1.8 and 1.9

version 1.8, 2001/07/10 22:31:14 version 1.9, 2001/07/16 22:28:06
Line 75 
Line 75 
 inline void CopyToRaw(T* to, const U* from, Uint32 size) inline void CopyToRaw(T* to, const U* from, Uint32 size)
 { {
     while (size--)     while (size--)
         new(to++) T(*from++);      {
           // The following fails on TRU64:
           //     new(to++) T(*from++);
           // Probably a compiler error so I changed it to this:
           // Mike Brasher
   
           new(to) T(*from);
           to++;
           from++;
       }
 } }
  
 inline void CopyToRaw(Boolean* to, const Boolean* from, Uint32 size) inline void CopyToRaw(Boolean* to, const Boolean* from, Uint32 size)


Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2