From 8037fa4ee916fa20b3c63cbf531f4ee7e1c76138 Mon Sep 17 00:00:00 2001 From: emaste Date: Fri, 3 Jul 2015 16:57:06 +0000 Subject: Import LLDB as of upstream SVN 241361 (git 612c075f) --- source/Core/UUID.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/Core/UUID.cpp') diff --git a/source/Core/UUID.cpp b/source/Core/UUID.cpp index c1b3eb1..88290d1 100644 --- a/source/Core/UUID.cpp +++ b/source/Core/UUID.cpp @@ -234,7 +234,10 @@ UUID::SetFromCString (const char *cstr, uint32_t num_uuid_bytes) // If we successfully decoded a UUID, return the amount of characters that // were consumed if (uuid_byte_idx == num_uuid_bytes) + { + m_num_uuid_bytes = num_uuid_bytes; return p - cstr; + } // Else return zero to indicate we were not able to parse a UUID value return 0; -- cgit v1.1