diff options
Diffstat (limited to 'SwifTools/Application/MacOSXApplicationPathProvider.cpp')
| -rw-r--r-- | SwifTools/Application/MacOSXApplicationPathProvider.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SwifTools/Application/MacOSXApplicationPathProvider.cpp b/SwifTools/Application/MacOSXApplicationPathProvider.cpp index 684d8b2..d7b99b9 100644 --- a/SwifTools/Application/MacOSXApplicationPathProvider.cpp +++ b/SwifTools/Application/MacOSXApplicationPathProvider.cpp @@ -1,8 +1,8 @@ /* - * Copyright (c) 2010-2016 Isode Limited. + * Copyright (c) 2010-2019 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #include <SwifTools/Application/MacOSXApplicationPathProvider.h> @@ -20,13 +20,13 @@ MacOSXApplicationPathProvider::MacOSXApplicationPathProvider(const std::string& boost::filesystem::path MacOSXApplicationPathProvider::getDataDir() const { boost::filesystem::path result(getHomeDir() / "Library/Application Support" / getApplicationName()); try { boost::filesystem::create_directory(result); } catch (const boost::filesystem::filesystem_error& e) { - SWIFT_LOG(error) << e.what() << std::endl; + SWIFT_LOG(error) << e.what(); } return result; } boost::filesystem::path MacOSXApplicationPathProvider::getHomeDir() const { return boost::filesystem::path(getenv("HOME")); |
Swift