aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/API/SBModuleSpec.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2013-10-04 21:35:29 +0000
committerSean Callanan <scallanan@apple.com>2013-10-04 21:35:29 +0000
commit9076c0fffbc1323db78b789f040b30295a3cfcf0 (patch)
treea90d0caeb8a23505699a660f87fb73d4a224b068 /lldb/source/API/SBModuleSpec.cpp
parent210791a021a18e3eb60d4a67df6cd452006aa338 (diff)
downloadllvm-9076c0fffbc1323db78b789f040b30295a3cfcf0.zip
llvm-9076c0fffbc1323db78b789f040b30295a3cfcf0.tar.gz
llvm-9076c0fffbc1323db78b789f040b30295a3cfcf0.tar.bz2
Made all other "operator bool"s explicit and ensured
that all clients use them explicitly. This will hopefully prevent any future confusion where things get cast to types we don't expect. <rdar://problem/15146458> llvm-svn: 191984
Diffstat (limited to 'lldb/source/API/SBModuleSpec.cpp')
-rw-r--r--lldb/source/API/SBModuleSpec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBModuleSpec.cpp b/lldb/source/API/SBModuleSpec.cpp
index 654a8ca..17c83ab 100644
--- a/lldb/source/API/SBModuleSpec.cpp
+++ b/lldb/source/API/SBModuleSpec.cpp
@@ -44,7 +44,7 @@ SBModuleSpec::~SBModuleSpec ()
bool
SBModuleSpec::IsValid () const
{
- return *m_opaque_ap;
+ return m_opaque_ap->operator bool();
}
void