diff options
Diffstat (limited to 'platform/platform_win.cpp')
-rw-r--r-- | platform/platform_win.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/platform_win.cpp b/platform/platform_win.cpp index 4d454f22f2..cd5e394a7e 100644 --- a/platform/platform_win.cpp +++ b/platform/platform_win.cpp @@ -81,9 +81,9 @@ Platform::~Platform() { } -bool Platform::IsFileExists(string const & file) const +bool Platform::IsFileExistsByFullPath(string const & filePath) { - return ::GetFileAttributesA(file.c_str()) != INVALID_FILE_ATTRIBUTES; + return ::GetFileAttributesA(filePath.c_str()) != INVALID_FILE_ATTRIBUTES; } int Platform::CpuCores() const |