浏览代码

missing includes

Former-commit-id: 04ec0863b88ae8f634e47ddb706f7f9cbc2d1b40
Alec Jacobson 9 年之前
父节点
当前提交
0f5afe5433
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. 1 1
      include/igl/matlab/requires_arg.cpp
  2. 2 0
      include/igl/matlab/validate_arg.cpp

+ 1 - 1
include/igl/matlab/requires_arg.cpp

@@ -6,8 +6,8 @@
 // v. 2.0. If a copy of the MPL was not distributed with this file, You can 
 // v. 2.0. If a copy of the MPL was not distributed with this file, You can 
 // obtain one at http://mozilla.org/MPL/2.0/.
 // obtain one at http://mozilla.org/MPL/2.0/.
 #include "requires_arg.h"
 #include "requires_arg.h"
-#include "../C_STR.h"
 #include "mexErrMsgTxt.h"
 #include "mexErrMsgTxt.h"
+#include "../C_STR.h"
 
 
 IGL_INLINE void igl::matlab::requires_arg(const int i, const int nrhs, const char *name)
 IGL_INLINE void igl::matlab::requires_arg(const int i, const int nrhs, const char *name)
 {
 {

+ 2 - 0
include/igl/matlab/validate_arg.cpp

@@ -7,6 +7,8 @@
 // obtain one at http://mozilla.org/MPL/2.0/.
 // obtain one at http://mozilla.org/MPL/2.0/.
 #include "validate_arg.h"
 #include "validate_arg.h"
 #include "requires_arg.h"
 #include "requires_arg.h"
+#include "mexErrMsgTxt.h"
+#include "../C_STR.h"
 
 
 IGL_INLINE void igl::matlab::validate_arg_scalar(
 IGL_INLINE void igl::matlab::validate_arg_scalar(
     const int i, const int nrhs, const mxArray * prhs[], const char * name)
     const int i, const int nrhs, const mxArray * prhs[], const char * name)