Tidying
This commit is contained in:
@@ -12,7 +12,7 @@ namespace Services
|
||||
std::string PathService::applicationDirPath() {
|
||||
auto pathCharArray = std::array<char, PATH_MAX>();
|
||||
|
||||
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.");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user