瀏覽代碼

Merge pull request #443 from teanet/master

Fix xcode 9 warnings
Robert Payne 8 年之前
父節點
當前提交
b41a3fd52b
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      Masonry/MASConstraint.h

+ 3 - 3
Masonry/MASConstraint.h

@@ -73,17 +73,17 @@
 /**
  *	Sets the NSLayoutConstraint priority to MASLayoutPriorityLow
  */
-- (MASConstraint * (^)())priorityLow;
+- (MASConstraint * (^)(void))priorityLow;
 
 /**
  *	Sets the NSLayoutConstraint priority to MASLayoutPriorityMedium
  */
-- (MASConstraint * (^)())priorityMedium;
+- (MASConstraint * (^)(void))priorityMedium;
 
 /**
  *	Sets the NSLayoutConstraint priority to MASLayoutPriorityHigh
  */
-- (MASConstraint * (^)())priorityHigh;
+- (MASConstraint * (^)(void))priorityHigh;
 
 /**
  *	Sets the constraint relation to NSLayoutRelationEqual