Add explicit casts to bool in "shared pointer is valid" constructs that return bool.

llvm-svn: 161719
This commit is contained in:
Jim Ingham
2012-08-11 00:35:26 +00:00
parent d6551dc0bf
commit f94e179172
9 changed files with 9 additions and 11 deletions

View File

@@ -87,7 +87,7 @@ SBWatchpoint::GetID ()
bool
SBWatchpoint::IsValid() const
{
return m_opaque_sp;
return (bool) m_opaque_sp;
}
SBError