Bläddra i källkod

remove inline, confusing gcc

Former-commit-id: 15d7089005d705736411293c9b39da03bad8360a
Alec Jacobson 7 år sedan
förälder
incheckning
d702121096
1 ändrade filer med 9 tillägg och 9 borttagningar
  1. 9 9
      include/igl/writePLY.cpp

+ 9 - 9
include/igl/writePLY.cpp

@@ -13,15 +13,15 @@
 
 
 namespace
 namespace
 {
 {
-  inline template <typename Scalar> int ply_type();
-  inline template <> int ply_type<char>(){ return PLY_CHAR; }
-  inline template <> int ply_type<short>(){ return PLY_SHORT; }
-  inline template <> int ply_type<int>(){ return PLY_INT; }
-  inline template <> int ply_type<unsigned char>(){ return PLY_UCHAR; }
-  inline template <> int ply_type<unsigned short>(){ return PLY_SHORT; }
-  inline template <> int ply_type<unsigned int>(){ return PLY_UINT; }
-  inline template <> int ply_type<float>(){ return PLY_FLOAT; }
-  inline template <> int ply_type<double>(){ return PLY_DOUBLE; }
+  template <typename Scalar> int ply_type();
+  template <> int ply_type<char>(){ return PLY_CHAR; }
+  template <> int ply_type<short>(){ return PLY_SHORT; }
+  template <> int ply_type<int>(){ return PLY_INT; }
+  template <> int ply_type<unsigned char>(){ return PLY_UCHAR; }
+  template <> int ply_type<unsigned short>(){ return PLY_SHORT; }
+  template <> int ply_type<unsigned int>(){ return PLY_UINT; }
+  template <> int ply_type<float>(){ return PLY_FLOAT; }
+  template <> int ply_type<double>(){ return PLY_DOUBLE; }
 }
 }
 
 
 template <
 template <