diff options
author | Johan Paulsson <gonz@badcode.net> | 2015-02-25 12:36:17 -0800 |
---|---|---|
committer | Johan Paulsson <gonz@badcode.net> | 2015-02-25 12:36:17 -0800 |
commit | ffa99ec96899716ce1084177810303d336f51ff6 (patch) | |
tree | f427df60958a456351c73fddd7536bcfa81bc480 /tikzit/src/common/TikzShape.m | |
parent | 8233df2ddd3133618be536c5423cdc6a40b4a20c (diff) |
Conversion of common files to ifdef for ARC
Diffstat (limited to 'tikzit/src/common/TikzShape.m')
-rw-r--r-- | tikzit/src/common/TikzShape.m | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tikzit/src/common/TikzShape.m b/tikzit/src/common/TikzShape.m index c07c61e..555a7df 100644 --- a/tikzit/src/common/TikzShape.m +++ b/tikzit/src/common/TikzShape.m @@ -55,7 +55,11 @@ -NSMidY(bds)); [t setOrigin:shift]; [graph applyTransformer:t]; +#if __has_feature(objc_arc) + paths = [graph pathCover]; +#else paths = [[graph pathCover] retain]; +#endif } return self; } |