mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Reverted previous commit
This doesn't work and probably never will. git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@695 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
2de2bf1072
commit
f03c3d96c5
2 changed files with 2 additions and 35 deletions
|
|
@ -33,7 +33,7 @@
|
|||
#ifdef MOCK_VARIADIC_MACROS
|
||||
|
||||
#define MOCK_BASE_CLASS(T, ...) \
|
||||
struct T : __VA_ARGS__, virtual mock::object, mock::detail::base< __VA_ARGS__ >
|
||||
struct T : __VA_ARGS__, mock::object, mock::detail::base< __VA_ARGS__ >
|
||||
|
||||
#define MOCK_FUNCTOR(f, ...) \
|
||||
mock::detail::functor< MOCK_FUNCTION_TYPE((__VA_ARGS__),) > f, f##_mock
|
||||
|
|
@ -44,7 +44,7 @@
|
|||
#else // MOCK_VARIADIC_MACROS
|
||||
|
||||
#define MOCK_BASE_CLASS(T, I) \
|
||||
struct T : I, virtual mock::object, mock::detail::base< I >
|
||||
struct T : I, mock::object, mock::detail::base< I >
|
||||
|
||||
#define MOCK_FUNCTOR(f, S) \
|
||||
mock::detail::functor< MOCK_FUNCTION_TYPE(S,) > f, f##_mock
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue