Skip to content

Commit 4134592

Browse files
[lldb] Construct SmallVector with ArrayRef (NFC) (#102793)
1 parent 1d0d1f2 commit 4134592

File tree

1 file changed

+1
-1
lines changed
  • lldb/include/lldb/Utility

1 file changed

+1
-1
lines changed

lldb/include/lldb/Utility/UUID.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class UUID {
2828
UUID() = default;
2929

3030
/// Creates a uuid from the data pointed to by the bytes argument.
31-
UUID(llvm::ArrayRef<uint8_t> bytes) : m_bytes(bytes.begin(), bytes.end()) {
31+
UUID(llvm::ArrayRef<uint8_t> bytes) : m_bytes(bytes) {
3232
if (llvm::all_of(m_bytes, [](uint8_t b) { return b == 0; })) {
3333
Clear();
3434
}

0 commit comments

Comments
 (0)