diff options
Diffstat (limited to 'source/slang/source-loc.cpp')
| -rw-r--r-- | source/slang/source-loc.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/slang/source-loc.cpp b/source/slang/source-loc.cpp index 1c3b8c70a..62926aa8c 100644 --- a/source/slang/source-loc.cpp +++ b/source/slang/source-loc.cpp @@ -3,6 +3,8 @@ #include "compiler.h" +#include "../core/slang-string-util.h" + namespace Slang { /* !!!!!!!!!!!!!!!!!!!!!!!!! SourceView !!!!!!!!!!!!!!!!!!!!!!!!!!!! */ @@ -323,7 +325,7 @@ SourceFile* SourceManager::createSourceFile(const PathInfo& pathInfo, ISlangBlob SourceFile* SourceManager::createSourceFile(const PathInfo& pathInfo, const String& content) { - ComPtr<ISlangBlob> contentBlob = createStringBlob(content); + ComPtr<ISlangBlob> contentBlob = StringUtil::createStringBlob(content); return createSourceFile(pathInfo, contentBlob); } |
