Skip to content
This repository was archived by the owner on Mar 3, 2020. It is now read-only.

Commit a15dd84

Browse files
author
Adam Bell
authored
Ignore "-Wglobal-constructors" on POPStaticAnimatablePropertyState
1 parent 42f770f commit a15dd84

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pop/POPAnimatableProperty.mm

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,8 @@
172172
} _POPStaticAnimatablePropertyState;
173173
typedef _POPStaticAnimatablePropertyState POPStaticAnimatablePropertyState;
174174

175+
#pragma clang diagnostic push
176+
#pragma clang diagnostic ignored "-Wglobal-constructors"
175177
static POPStaticAnimatablePropertyState _staticStates[] =
176178
{
177179
/* CALayer */
@@ -1113,6 +1115,7 @@
11131115
#endif
11141116

11151117
};
1118+
#pragma clang diagnostic pop
11161119

11171120
static NSUInteger staticIndexWithName(NSString *aName)
11181121
{

0 commit comments

Comments
 (0)