From: <sv...@ww...> - 2004-07-02 06:58:47
|
Author: mkrose Date: 2004-07-01 23:58:42 -0700 (Thu, 01 Jul 2004) New Revision: 1130 Modified: trunk/CSP/SimData/CHANGES.current trunk/CSP/SimData/Include/SimData/ScopedPointer.h Log: Fixed typo in ScopedPointer.h. Browse at: https://www.zerobar.net/viewcvs/viewcvs.cgi?view=rev&rev=1130 Modified: trunk/CSP/SimData/CHANGES.current =================================================================== --- trunk/CSP/SimData/CHANGES.current 2004-07-02 06:57:12 UTC (rev 1129) +++ trunk/CSP/SimData/CHANGES.current 2004-07-02 06:58:42 UTC (rev 1130) @@ -5,6 +5,8 @@ * Added a simple but fast memory pool class for allocating fixed size buffers. + * Fixed typo in ScopedPointer.h + 2004-06-28: delta. Mainly vs .net's fixes. Here's a few details: * Added Source/Timing.cpp, ThreadBase.cpp to the vs .net build. Modified: trunk/CSP/SimData/Include/SimData/ScopedPointer.h =================================================================== --- trunk/CSP/SimData/Include/SimData/ScopedPointer.h 2004-07-02 06:57:12 UTC (rev 1129) +++ trunk/CSP/SimData/Include/SimData/ScopedPointer.h 2004-07-02 06:58:42 UTC (rev 1130) @@ -71,13 +71,13 @@ * * Will abort if the pointer is null. */ - inline T & operator*() const { assert(ptr); return *_ptr; } + inline T & operator*() const { assert(_ptr); return *_ptr; } /** Dereference the pointer. * * Will abort if the pointer is null. */ - inline T * operator->() const { assert(ptr); return _ptr; } + inline T * operator->() const { assert(_ptr); return _ptr; } /** Get the raw pointer. */ |