From 1a6e58177936cce9ba0c55dd5bc35a9fafea1b75 Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Tue, 20 May 2014 12:12:33 +0200 Subject: [PATCH] fix #1021, always check if files exist --- Util/BoostFileSystemFix.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Util/BoostFileSystemFix.h b/Util/BoostFileSystemFix.h index 998eb75ad9b..1e1e98e0e14 100644 --- a/Util/BoostFileSystemFix.h +++ b/Util/BoostFileSystemFix.h @@ -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 */