Merge pull request #6075 from pranavg189:master

pull/6082/head
Alexander Alekhin 9 years ago
commit f9f5313670
  1. 2
      apps/traincascade/imagestorage.cpp

@ -28,7 +28,7 @@ CvCascadeImageReader::NegReader::NegReader()
bool CvCascadeImageReader::NegReader::create( const string _filename, Size _winSize ) bool CvCascadeImageReader::NegReader::create( const string _filename, Size _winSize )
{ {
string dirname, str; string str;
std::ifstream file(_filename.c_str()); std::ifstream file(_filename.c_str());
if ( !file.is_open() ) if ( !file.is_open() )
return false; return false;

Loading…
Cancel
Save