From f163e957524428d5e8ddb670af1cbb70239bf5c6 Mon Sep 17 00:00:00 2001 From: Benjamin Reis Date: Wed, 16 May 2018 16:27:47 +0200 Subject: [PATCH] fix ios coding style --- src/core/paths/paths-apple.mm | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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; } }