diff options
Diffstat (limited to 'include/lldb/DataFormatters/TypeCategory.h')
-rw-r--r-- | include/lldb/DataFormatters/TypeCategory.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/lldb/DataFormatters/TypeCategory.h b/include/lldb/DataFormatters/TypeCategory.h index 0a5b09baa624..177e602e6ec3 100644 --- a/include/lldb/DataFormatters/TypeCategory.h +++ b/include/lldb/DataFormatters/TypeCategory.h @@ -10,16 +10,12 @@ #ifndef lldb_TypeCategory_h_ #define lldb_TypeCategory_h_ -// C Includes -// C++ Includes #include <initializer_list> #include <memory> #include <mutex> #include <string> #include <vector> -// Other libraries and framework includes -// Project includes #include "lldb/lldb-enumerations.h" #include "lldb/lldb-public.h" @@ -348,7 +344,7 @@ public: bool IsEnabled() const { return m_enabled; } uint32_t GetEnabledPosition() { - if (m_enabled == false) + if (!m_enabled) return UINT32_MAX; else return m_enabled_position; |