Skip to content

Commit 93072b6

Browse files
committed
Remove ArduinoFakeReturnInstaceOf macro
1 parent 8ebdab6 commit 93072b6

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/ArduinoFake.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,6 @@
4242
#define ArduinoFakeMock(mock, ...) \
4343
new mock##FakeProxy(ArduinoFakeInstance(mock, __VA_ARGS__))
4444

45-
#define ArduinoFakeReturnInstaceOf(var, mock) \
46-
if (std::strstr(typeid(*var).name(), #mock)) { \
47-
return this->mock(); \
48-
}
49-
5045
#define ArduinoFakeSingleInstanceGetter(mock) \
5146
mock##Fake* mock() \
5247
{ \

0 commit comments

Comments
 (0)