Fix for gcc 4.4

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@607 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2013-03-08 09:51:12 +00:00
parent a7cdc82a59
commit 3f9e9a78a7

View file

@ -24,13 +24,12 @@
#include <boost/utility/identity_type.hpp> #include <boost/utility/identity_type.hpp>
#include <boost/mpl/assert.hpp> #include <boost/mpl/assert.hpp>
#define MOCK_FUNCTION_TYPE(S, tpn) \
BOOST_DEDUCED_TYPENAME boost::remove_pointer< \
tpn BOOST_IDENTITY_TYPE((S)) >::type
#define MOCK_CLASS(T) \ #define MOCK_CLASS(T) \
struct T : mock::object struct T : mock::object
#define MOCK_FUNCTION_TYPE(S, tpn) \
tpn boost::remove_pointer< tpn BOOST_IDENTITY_TYPE((S)) >::type
#ifdef BOOST_NO_VARIADIC_MACROS #ifdef BOOST_NO_VARIADIC_MACROS
#define MOCK_BASE_CLASS(T, I) \ #define MOCK_BASE_CLASS(T, I) \