diff options
author | Jim Ingham <jingham@apple.com> | 2012-08-11 00:35:26 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2012-08-11 00:35:26 +0000 |
commit | f94e179172b82f9692eefb2e11ad80f116b5ba16 (patch) | |
tree | b904343d1eac036a574d3e5d56ce983d03871c22 /lldb/source/API/SBWatchpoint.cpp | |
parent | d6551dc0bf74c902bee3082f2ea6b6b5bfc41e28 (diff) | |
download | bcm5719-llvm-f94e179172b82f9692eefb2e11ad80f116b5ba16.tar.gz bcm5719-llvm-f94e179172b82f9692eefb2e11ad80f116b5ba16.zip |
Add explicit casts to bool in "shared pointer is valid" constructs that return bool.
llvm-svn: 161719
Diffstat (limited to 'lldb/source/API/SBWatchpoint.cpp')
-rw-r--r-- | lldb/source/API/SBWatchpoint.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBWatchpoint.cpp b/lldb/source/API/SBWatchpoint.cpp index 594584c0391..4794ba4c501 100644 --- a/lldb/source/API/SBWatchpoint.cpp +++ b/lldb/source/API/SBWatchpoint.cpp @@ -87,7 +87,7 @@ SBWatchpoint::GetID () bool SBWatchpoint::IsValid() const { - return m_opaque_sp; + return (bool) m_opaque_sp; } SBError |