From 1663a0b30bf758c748e3705c5318d3457380a293 Mon Sep 17 00:00:00 2001 From: rich_sposato Date: Sat, 26 Sep 2009 20:43:11 +0000 Subject: [PATCH] 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 --- include/loki/SmartPtr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/loki/SmartPtr.h b/include/loki/SmartPtr.h index 9645611..8a9f7ef 100644 --- a/include/loki/SmartPtr.h +++ b/include/loki/SmartPtr.h @@ -295,7 +295,7 @@ namespace Loki explicit LockedStorage( const StoredType & p ) : pointee_( p ) {} - PointerType operator->() + PointerType operator->() const { return Locker< T >( pointee_ ); }