mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 13:35:38 +08:00
Add explicit casts to bool in "shared pointer is valid" constructs that return bool.
llvm-svn: 161719
This commit is contained in:
@@ -87,7 +87,7 @@ SBWatchpoint::GetID ()
|
||||
bool
|
||||
SBWatchpoint::IsValid() const
|
||||
{
|
||||
return m_opaque_sp;
|
||||
return (bool) m_opaque_sp;
|
||||
}
|
||||
|
||||
SBError
|
||||
|
||||
Reference in New Issue
Block a user