[Lldb-commits] [PATCH] D40517: Mark UUID::GetByteSize() const

Stephane Sezer via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Nov 27 13:17:06 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL319095: Mark UUID::GetByteSize() const (authored by sas).

Repository:
  rL LLVM

https://reviews.llvm.org/D40517

Files:
  lldb/trunk/include/lldb/Utility/UUID.h
  lldb/trunk/source/Utility/UUID.cpp


Index: lldb/trunk/include/lldb/Utility/UUID.h
===================================================================
--- lldb/trunk/include/lldb/Utility/UUID.h
+++ lldb/trunk/include/lldb/Utility/UUID.h
@@ -46,7 +46,7 @@
 
   const void *GetBytes() const;
 
-  size_t GetByteSize();
+  size_t GetByteSize() const;
 
   bool IsValid() const;
 
Index: lldb/trunk/source/Utility/UUID.cpp
===================================================================
--- lldb/trunk/source/Utility/UUID.cpp
+++ lldb/trunk/source/Utility/UUID.cpp
@@ -109,7 +109,7 @@
   return false;
 }
 
-size_t UUID::GetByteSize() { return m_num_uuid_bytes; }
+size_t UUID::GetByteSize() const { return m_num_uuid_bytes; }
 
 bool UUID::IsValid() const {
   return m_uuid[0] || m_uuid[1] || m_uuid[2] || m_uuid[3] || m_uuid[4] ||


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40517.124453.patch
Type: text/x-patch
Size: 797 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20171127/2ea1898f/attachment.bin>


More information about the lldb-commits mailing list