diff options
Diffstat (limited to 'source/slang/slang-options.cpp')
| -rw-r--r-- | source/slang/slang-options.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/slang/slang-options.cpp b/source/slang/slang-options.cpp index 6a5b43876..60d41ee5c 100644 --- a/source/slang/slang-options.cpp +++ b/source/slang/slang-options.cpp @@ -529,7 +529,7 @@ struct OptionsParser SlangPathType pathType; if (SLANG_SUCCEEDED(Path::getPathType(dirPath, &pathType)) && pathType == SLANG_PATH_TYPE_DIRECTORY) { - fileSystem = new RelativeFileSystem(OSFileSystemExt::getSingleton(), dirPath); + fileSystem = new RelativeFileSystem(OSFileSystem::getExtSingleton(), dirPath); } } @@ -557,7 +557,7 @@ struct OptionsParser SlangPathType pathType; if (SLANG_SUCCEEDED(Path::getPathType(dirPath, &pathType)) && pathType == SLANG_PATH_TYPE_DIRECTORY) { - dirFileSystem = new RelativeFileSystem(OSFileSystemExt::getSingleton(), dirPath, true); + dirFileSystem = new RelativeFileSystem(OSFileSystem::getExtSingleton(), dirPath, true); } } @@ -907,13 +907,13 @@ struct OptionsParser } else if (name == "load-file") { - // OSFileSystem just implements loadFile interface, so will be wrapped with CacheFileSystem internally - spSetFileSystem(compileRequest, OSFileSystem::getSingleton()); + // 'Simple' just implements loadFile interface, so will be wrapped with CacheFileSystem internally + spSetFileSystem(compileRequest, OSFileSystem::getLoadSingleton()); } else if (name == "os") { - // OSFileSystemExt implements the ISlangFileSystemExt interface - and will be used directly - spSetFileSystem(compileRequest, OSFileSystemExt::getSingleton()); + // 'Immutable' implements the ISlangFileSystemExt interface - and will be used directly + spSetFileSystem(compileRequest, OSFileSystem::getExtSingleton()); } else { |
