Inline the SDScaledImageForPath function so it doesn't polute the stack traces
This commit is contained in:
parent
4c51485e22
commit
c50be70558
|
@ -37,4 +37,4 @@
|
|||
#define SDDispatchQueueSetterSementics assign
|
||||
#endif
|
||||
|
||||
extern UIImage *SDScaledImageForPath(NSString *path, NSObject *imageOrData);
|
||||
extern inline UIImage *SDScaledImageForPath(NSString *path, NSObject *imageOrData);
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#error SDWebImage is ARC only. Either turn on ARC for the project or use -fobjc-arc flag
|
||||
#endif
|
||||
|
||||
UIImage *SDScaledImageForPath(NSString *path, NSObject *imageOrData)
|
||||
inline UIImage *SDScaledImageForPath(NSString *path, NSObject *imageOrData)
|
||||
{
|
||||
if (!imageOrData)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue