Do some minor code cleanups

This commit is contained in:
Jean Pierre Cimalando 2020-10-30 06:00:30 +01:00
parent 45285a4a66
commit 3db710f101
2 changed files with 3 additions and 5 deletions

View file

@ -11,7 +11,6 @@
#error This source file requires ARC #error This source file requires ARC
#endif #endif
#if defined(__APPLE__)
const fs::path& getUserDocumentsDirectory() const fs::path& getUserDocumentsDirectory()
{ {
static const fs::path directory = []() -> fs::path { static const fs::path directory = []() -> fs::path {
@ -26,4 +25,3 @@ const fs::path& getUserDocumentsDirectory()
}(); }();
return directory; return directory;
} }
#endif