Skip to content

Commit

Permalink
Bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
MarianoJT88 committed Jan 17, 2015
1 parent e0f177b commit a7704fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scene_flow_impair.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

bool fileExists(const std::string& path)
{
return 0 == _access(path.c_str(), 0x00 ); // 0x00 = Check for existence only!
return 0 == access(path.c_str(), 0x00 ); // 0x00 = Check for existence only!
}

PD_flow_opencv::PD_flow_opencv(unsigned int rows_config)
Expand Down
3 changes: 2 additions & 1 deletion scene_flow_impair.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
#include "legend_pdflow.xpm"
#include <fstream>
#include <string.h>
#include <io.h>
//#include <io.h>
#include <unistd.h>

#ifdef _WIN32
#define M_PI 3.14159265f
Expand Down

0 comments on commit a7704fa

Please sign in to comment.