Reduce build warnings and enable Qt build
This commit is contained in:
+1
-1
@@ -557,7 +557,7 @@ bool TryCreateDirectory(const boost::filesystem::path& p)
|
||||
{
|
||||
try {
|
||||
return boost::filesystem::create_directory(p);
|
||||
} catch (boost::filesystem::filesystem_error) {
|
||||
} catch (const boost::filesystem::filesystem_error&) {
|
||||
if (!boost::filesystem::exists(p) || !boost::filesystem::is_directory(p))
|
||||
throw;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user