Skip to content

Commit

Permalink
fix #1021, always check if files exist
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisOSRM committed May 20, 2014
1 parent a06e1c1 commit 1a6e581
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Util/BoostFileSystemFix.h
Original file line number Diff line number Diff line change
Expand Up @@ -140,13 +140,8 @@ inline void AssertPathExists(const boost::filesystem::path &path)
{
if (!boost::filesystem::is_regular_file(path))
{
SimpleLogger().Write(logDEBUG) << path << " check failed";
throw OSRMException(path.string() + " not found.");
}
else
{
SimpleLogger().Write(logDEBUG) << path << " exists";
}
}

#endif /* BOOST_FILE_SYSTEM_FIX_H */

0 comments on commit 1a6e581

Please sign in to comment.