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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy