diff options
Diffstat (limited to 'source/slang/slang-core-module.cpp')
| -rw-r--r-- | source/slang/slang-core-module.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/slang/slang-core-module.cpp b/source/slang/slang-core-module.cpp index 8867ba1c3..5b163e594 100644 --- a/source/slang/slang-core-module.cpp +++ b/source/slang/slang-core-module.cpp @@ -8,9 +8,9 @@ namespace Slang { - String Session::getStdlibPath() + String Session::getCoreModulePath() { - if(stdlibPath.getLength() == 0) + if(coreModulePath.getLength() == 0) { // Make sure we have a line of text from __FILE__, that we'll extract the filename from List<UnownedStringSlice> lines; @@ -18,8 +18,8 @@ namespace Slang SLANG_ASSERT(lines.getCount() > 0 && lines[0].getLength() > 0); // Make the path just the filename to remove issues around path being included on different targets - stdlibPath = Path::getFileName(lines[0]); + coreModulePath = Path::getFileName(lines[0]); } - return stdlibPath; + return coreModulePath; } } |
