Fixed compilation errors.
This commit is contained in:
parent
8bed7bb5f9
commit
48a6edbdfe
@ -56,9 +56,9 @@ namespace cv
|
||||
fname = FindFileData.cFileName;
|
||||
#endif
|
||||
if (addPath)
|
||||
list.push_back(path + "/" + std::string(fname));
|
||||
list.push_back(path + "/" + String(fname));
|
||||
else
|
||||
list.push_back(std::string(fname));
|
||||
list.push_back(String(fname));
|
||||
}
|
||||
}
|
||||
#ifdef HAVE_WINRT
|
||||
@ -145,9 +145,9 @@ namespace cv
|
||||
#endif
|
||||
|
||||
if (addPath)
|
||||
list.push_back(path + "/" + std::string(fname));
|
||||
list.push_back(path + "/" + String(fname));
|
||||
else
|
||||
list.push_back(std::string(fname));
|
||||
list.push_back(String(fname));
|
||||
}
|
||||
}
|
||||
#ifdef HAVE_WINRT
|
||||
|
@ -1,6 +1,7 @@
|
||||
#define LOG_TAG "org.opencv.core.Mat"
|
||||
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
|
||||
#include "common.h"
|
||||
#include "opencv2/core.hpp"
|
||||
|
Loading…
x
Reference in New Issue
Block a user