From 3c82edc2db1facb9b80d8088a52a3427cc8f2ae8 Mon Sep 17 00:00:00 2001 From: Nav Date: Sun, 20 Aug 2023 18:50:14 +0100 Subject: [PATCH] Tidying --- src/Services/PathService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Services/PathService.cpp b/src/Services/PathService.cpp index 594d185c..71e241ee 100644 --- a/src/Services/PathService.cpp +++ b/src/Services/PathService.cpp @@ -12,7 +12,7 @@ namespace Services std::string PathService::applicationDirPath() { auto pathCharArray = std::array(); - if (readlink("/proc/self/exe", pathCharArray.data(), PATH_MAX) < 0) { + if (::readlink("/proc/self/exe", pathCharArray.data(), PATH_MAX) < 0) { throw Exceptions::Exception("Failed to obtain application directory path."); }