diff options
author | Sean Callanan <scallanan@apple.com> | 2013-10-04 21:35:29 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2013-10-04 21:35:29 +0000 |
commit | 9076c0fffbc1323db78b789f040b30295a3cfcf0 (patch) | |
tree | a90d0caeb8a23505699a660f87fb73d4a224b068 /lldb/source/API/SBModuleSpec.cpp | |
parent | 210791a021a18e3eb60d4a67df6cd452006aa338 (diff) | |
download | llvm-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.cpp | 2 |
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 |