commit | 9880efacdd3a5e855b405d89433a01170422a889 | [log] [tgz] |
---|---|---|
author | Jim Ingham <jingham@apple.com> | Sat Aug 11 00:35:26 2012 +0000 |
committer | Jim Ingham <jingham@apple.com> | Sat Aug 11 00:35:26 2012 +0000 |
tree | 2597d19e95b23c8df62444ab6f9340f573960770 | |
parent | 1edae5f5ca1e27e5d57bc226d6483b1fe052b285 [diff] [blame] |
Add explicit casts to bool in "shared pointer is valid" constructs that return bool. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@161719 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/API/SBBreakpoint.cpp b/source/API/SBBreakpoint.cpp index 3adb031..6fc4cd9 100644 --- a/source/API/SBBreakpoint.cpp +++ b/source/API/SBBreakpoint.cpp
@@ -124,7 +124,7 @@ bool SBBreakpoint::IsValid() const { - return m_opaque_sp; + return (bool) m_opaque_sp; } void