Skip to content

Commit

Permalink
Merge branch 'initializer-list-visibility' of https://github.com/Arie…
Browse files Browse the repository at this point in the history
…lG-NV/slang into initializer-list-visibility
  • Loading branch information
ArielG-NV committed Sep 6, 2024
2 parents 852bbc3 + 22bf6f6 commit ddf061d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion source/compiler-core/slang-source-loc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,6 @@ void SourceFile::setContents(ISlangBlob* blob)

char const* decodedContentBegin = (char const*)m_contentBlob->getBufferPointer();
const UInt decodedContentSize = m_contentBlob->getBufferSize();
assert(decodedContentSize <= rawContentSize);
char const* decodedContentEnd = decodedContentBegin + decodedContentSize;

m_content = UnownedStringSlice(decodedContentBegin, decodedContentEnd);
Expand Down

0 comments on commit ddf061d

Please sign in to comment.