Skip to content

Commit f566d79

Browse files
committed
fix duplicate symbol __associated_object_key` error
1 parent 61685dc commit f566d79

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1+
#include "include/associated_object_key.h"
12

3+
NOINLINE
4+
const void *_associated_object_key() {
5+
return get_return_address();
6+
}

Sources/AssociatedObjectC/include/associated_object_key.h

+1-4
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@
3131
#define NOINLINE
3232
#endif
3333

34-
NOINLINE
35-
const void *_associated_object_key() {
36-
return get_return_address();
37-
}
34+
const void *_associated_object_key();
3835

3936
#endif /* associated_object_key_h */

0 commit comments

Comments
 (0)