diff --git a/include/boost/python/cast.hpp b/include/boost/python/cast.hpp index d20cbd3a..a1d2d607 100755 --- a/include/boost/python/cast.hpp +++ b/include/boost/python/cast.hpp @@ -78,7 +78,7 @@ namespace detail { typedef typename add_cv::type src_t; typedef typename add_cv::type target_t; - static bool const same = is_same::value; + bool const same = is_same::value; return detail::upcaster::execute(x, (Target*)0); }