diff --git a/src/core/paths/paths-apple.mm b/src/core/paths/paths-apple.mm index 64df20292..94c0e886b 100644 --- a/src/core/paths/paths-apple.mm +++ b/src/core/paths/paths-apple.mm @@ -35,10 +35,10 @@ std::string SysPaths::getDataPath (PlatformHelpers *) { NSError *error; lInfo() << "Data path " << fullPath.UTF8String << " does not exist, creating it."; if (![[NSFileManager defaultManager] createDirectoryAtPath:fullPath - withIntermediateDirectories:YES - attributes:nil - error:&error]) { - lError() << "Create data path directory error: " << error.description; + withIntermediateDirectories:YES + attributes:nil + error:&error]) { + lError() << "Create data path directory error: " << error.description; } } @@ -53,10 +53,10 @@ std::string SysPaths::getConfigPath (PlatformHelpers *) { NSError *error; lInfo() << "Config path " << fullPath.UTF8String << " does not exist, creating it."; if (![[NSFileManager defaultManager] createDirectoryAtPath:fullPath - withIntermediateDirectories:YES - attributes:nil - error:&error]) { - lError() << "Create config path directory error: " << error.description; + withIntermediateDirectories:YES + attributes:nil + error:&error]) { + lError() << "Create config path directory error: " << error.description; } }