Fixed compilation errors.

This commit is contained in:
Roman Donchenko 2013-08-06 17:06:13 +04:00
parent 8bed7bb5f9
commit 48a6edbdfe
2 changed files with 5 additions and 4 deletions

View File

@ -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

View File

@ -1,6 +1,7 @@
#define LOG_TAG "org.opencv.core.Mat"
#include <stdexcept>
#include <string>
#include "common.h"
#include "opencv2/core.hpp"