瀏覽代碼

Specify lambda return type.

Former-commit-id: 5ee3bc886734727e4eecd49f6da05908c60a8064
Qingnan Zhou 9 年之前
父節點
當前提交
b45233abc9
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      include/igl/copyleft/cgal/remesh_intersections.cpp

+ 2 - 1
include/igl/copyleft/cgal/remesh_intersections.cpp

@@ -60,7 +60,8 @@ IGL_INLINE void igl::copyleft::cgal::remesh_intersections(
     };
     typedef std::unordered_map<Edge, std::vector<Index>, EdgeHash > EdgeMap;
 
-    auto normalize_plane_coeff = [](const Plane_3& P) {
+    auto normalize_plane_coeff = [](const Plane_3& P) ->
+    std::vector<typename Kernel::FT> {
         std::vector<typename Kernel::FT> coeffs = {
             P.a(), P.b(), P.c(), P.d()
         };