提交 48a6edbd 编写于 作者: R Roman Donchenko

Fixed compilation errors.

上级 8bed7bb5
...@@ -56,9 +56,9 @@ namespace cv ...@@ -56,9 +56,9 @@ namespace cv
fname = FindFileData.cFileName; fname = FindFileData.cFileName;
#endif #endif
if (addPath) if (addPath)
list.push_back(path + "/" + std::string(fname)); list.push_back(path + "/" + String(fname));
else else
list.push_back(std::string(fname)); list.push_back(String(fname));
} }
} }
#ifdef HAVE_WINRT #ifdef HAVE_WINRT
...@@ -145,9 +145,9 @@ namespace cv ...@@ -145,9 +145,9 @@ namespace cv
#endif #endif
if (addPath) if (addPath)
list.push_back(path + "/" + std::string(fname)); list.push_back(path + "/" + String(fname));
else else
list.push_back(std::string(fname)); list.push_back(String(fname));
} }
} }
#ifdef HAVE_WINRT #ifdef HAVE_WINRT
......
#define LOG_TAG "org.opencv.core.Mat" #define LOG_TAG "org.opencv.core.Mat"
#include <stdexcept> #include <stdexcept>
#include <string>
#include "common.h" #include "common.h"
#include "opencv2/core.hpp" #include "opencv2/core.hpp"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册