From 326b11b72fe0e94893bf5e54da91cf1083d7e41f Mon Sep 17 00:00:00 2001 From: aramis_acg Date: Tue, 31 May 2011 17:35:17 +0000 Subject: [PATCH] # bugfix boost workaround, shared_ptr didn't offer a const operator* git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1021 67173fc5-114c-0410-ac8e-9d2fd5bffc1f --- code/BoostWorkaround/boost/shared_ptr.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/BoostWorkaround/boost/shared_ptr.hpp b/code/BoostWorkaround/boost/shared_ptr.hpp index daf5a1b68..bb7db3662 100644 --- a/code/BoostWorkaround/boost/shared_ptr.hpp +++ b/code/BoostWorkaround/boost/shared_ptr.hpp @@ -147,7 +147,7 @@ public: } // pointer access - inline operator T*() { + inline operator T*() const { return ptr; }