Fixed bug 2803535 by adding const qualifier.

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1021 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
rich_sposato 2009-09-26 20:43:11 +00:00
parent 2d6266ba0b
commit 1663a0b30b

View file

@ -295,7 +295,7 @@ namespace Loki
explicit LockedStorage( const StoredType & p ) : pointee_( p ) {} explicit LockedStorage( const StoredType & p ) : pointee_( p ) {}
PointerType operator->() PointerType operator->() const
{ {
return Locker< T >( pointee_ ); return Locker< T >( pointee_ );
} }