mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
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:
parent
a7cdc82a59
commit
3f9e9a78a7
1 changed files with 3 additions and 4 deletions
|
|
@ -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) \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue