Ticket #4805: python-fix-exec-test-msvc10.2.patch
File python-fix-exec-test-msvc10.2.patch, 537 bytes (added by , 12 years ago) |
---|
-
libs/python/test/exec.cpp
37 37 // http://boost.org/libs/python/doc/tutorial/doc/html/python/exposing.html#python.class_virtual_functions 38 38 return python::call<std::string>(this->get_override("hello").ptr()); 39 39 #else 40 return this->get_override("hello")();40 return static_cast<char const*>(this->get_override("hello")()); 41 41 #endif 42 42 } 43 43 };