Changeset 27638 for lang/cplusplus

Show
Ignore:
Timestamp:
12/31/08 02:58:08 (4 years ago)
Author:
saturday06
Message:

rtfuyghjio

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/cplusplus/i3/trunk/src/mol/include/mol/Mol.h

    r27637 r27638  
    8383    } 
    8484 
    85     T load() const volatile 
     85    //T load() const volatile 
     86    T load() volatile 
    8687    { 
    8788        return (T)InterlockedCompareExchangePointer((void* volatile *)&t, 0, 0); 
     
    9192    { 
    9293        BOOST_STATIC_ASSERT(sizeof(T) == sizeof(void*)); 
    93         return (T)InterlockedExchangePointer((void* volatile *)&t, (void*)new_val); 
     94        return (T)InterlockedExchangePointer((void* volatile *)&t, (const void*)new_val); 
    9495    } 
    9596