summaryrefslogtreecommitdiffstats
path: root/source/core/stream.cpp
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2019-04-24 11:18:58 -0400
committerTim Foley <tfoleyNV@users.noreply.github.com>2019-04-24 08:18:58 -0700
commit1004f50bd7d0032411a564ad4625055e982902ea (patch)
treed2bd2d0b8e48953361dcd33445f10cb084ffe0d7 /source/core/stream.cpp
parent9cb75371f5ea45640ae0e3998eb27bcda0a22cd9 (diff)
* Make Path:: use lowerCamel method names as per coding standard (#952)
* Small improvements to make closer to standard * GetDirectoryName -> getParentDirectory - previous method name's action was somewhat unclear, hopefully this is better
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.");
}