소스 검색

Specify lambda return type.

Former-commit-id: f2b46be3870ba4bfdc4cb24736be36a1e6ffe061
Qingnan Zhou 9 년 전
부모
커밋
3bbca40b69
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      include/igl/copyleft/cgal/intersect_other.cpp

+ 1 - 1
include/igl/copyleft/cgal/intersect_other.cpp

@@ -125,7 +125,7 @@ namespace igl
         // http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Box_intersection_d/Chapter_main.html#Section_63.5 
         // Create the corresponding vector of bounding boxes
         std::vector<Box> A_boxes,B_boxes;
-        const auto box_up = [](Triangles & T, std::vector<Box> & boxes)
+        const auto box_up = [](Triangles & T, std::vector<Box> & boxes) -> void
         {
           boxes.reserve(T.size());
           for (