summaryrefslogtreecommitdiffstats
path: root/source/core/stream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/stream.cpp')
-rw-r--r--source/core/stream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/stream.cpp b/source/core/stream.cpp
index 19ae3cdea..0fd266e0a 100644
--- a/source/core/stream.cpp
+++ b/source/core/stream.cpp
@@ -57,7 +57,7 @@ namespace Slang
}
break;
case Slang::FileMode::CreateNew:
- if (File::Exists(fileName))
+ if (File::exists(fileName))
{
throw IOException("Failed opening '" + fileName + "', file already exists.");
}