diff options
Diffstat (limited to 'src/tools/map_extractor')
| -rw-r--r-- | src/tools/map_extractor/System.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/tools/map_extractor/System.cpp b/src/tools/map_extractor/System.cpp index cdcb9aff2c8..2cf375f7ad1 100644 --- a/src/tools/map_extractor/System.cpp +++ b/src/tools/map_extractor/System.cpp @@ -30,14 +30,15 @@ #include "adt.h" #include "wdt.h" #include <CascLib.h> -#include <boost/filesystem/path.hpp> +#include <boost/filesystem/directory.hpp> #include <boost/filesystem/operations.hpp> +#include <boost/filesystem/path.hpp> #include <bitset> -#include <cstdio> #include <deque> #include <fstream> #include <set> #include <unordered_map> +#include <cstdio> #include <cstdlib> #include <cstring> #if TRINITY_PLATFORM == TRINITY_PLATFORM_WINDOWS @@ -1401,7 +1402,7 @@ bool OpenCascStorage(int locale) return true; } - catch (boost::filesystem::filesystem_error const& error) + catch (std::exception const& error) { printf("Error opening CASC storage: %s\n", error.what()); return false; @@ -1429,7 +1430,7 @@ uint32 GetInstalledLocalesMask() return storage->GetInstalledLocalesMask(); } - catch (boost::filesystem::filesystem_error const& error) + catch (std::exception const& error) { printf("Unable to determine installed locales mask: %s\n", error.what()); } |
