diff options
Diffstat (limited to 'platform/platform_linux.cpp')
-rw-r--r-- | platform/platform_linux.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/platform_linux.cpp b/platform/platform_linux.cpp index 4de81fe05a..54f21a49a9 100644 --- a/platform/platform_linux.cpp +++ b/platform/platform_linux.cpp @@ -50,10 +50,10 @@ Platform::~Platform() { } -bool Platform::IsFileExists(string const & file) const +bool Platform::IsFileExistsByFullPath(string const & filePath) { struct stat s; - return stat(file.c_str(), &s) == 0; + return stat(filePath.c_str(), &s) == 0; } int Platform::CpuCores() const |