mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
core: get rid of built-in String type
This commit is contained in:
committed by
Alexander Alekhin
parent
ee1e1ce377
commit
ae8dcdf40d
@@ -809,7 +809,7 @@ namespace
|
||||
Ptr<cuda::CascadeClassifier> cv::cuda::CascadeClassifier::create(const String& filename)
|
||||
{
|
||||
String fext = filename.substr(filename.find_last_of(".") + 1);
|
||||
fext = fext.toLowerCase();
|
||||
std::transform(fext.begin(), fext.end(), fext.begin(), ::tolower);
|
||||
|
||||
if (fext == "nvbin")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user