소스 검색

# 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
aramis_acg 14 년 전
부모
커밋
326b11b72f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      code/BoostWorkaround/boost/shared_ptr.hpp

+ 1 - 1
code/BoostWorkaround/boost/shared_ptr.hpp

@@ -147,7 +147,7 @@ public:
 	}
 
 	// pointer access
-	inline operator T*()	{
+	inline operator T*() const {
 		return ptr;
 	}