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; }