Skip to content

Commit 815c3e8

Browse files
authored
Merge pull request #80238 from alexfh/patch-1
Fix a compilation error with LLVM 21
2 parents 817a34c + dd83d1e commit 815c3e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/runtime/GenericMetadataBuilder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class InProcessReaderWriter {
5656

5757
/// Construct an arbitrarily typed buffer from a Buffer<const char>, using
5858
/// const char as an "untyped" buffer type.
59-
Buffer(Buffer<const char> buffer)
59+
Buffer(const Buffer<const char> &buffer)
6060
: ptr(reinterpret_cast<T *>(buffer.ptr)) {}
6161

6262
/// The pointer to the buffer's underlying storage.

0 commit comments

Comments
 (0)