fix #1021, always check if files exist

This commit is contained in:
Dennis Luxen 2014-05-20 12:12:33 +02:00
parent 4ec9f2c00f
commit b8acbae3e8

View File

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