summaryrefslogtreecommitdiff
path: root/source/API/SBFileSpec.cpp
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2013-11-06 16:48:53 +0000
committerEd Maste <emaste@FreeBSD.org>2013-11-06 16:48:53 +0000
commitf21a844f60ae6c74fcf1fddca32461acce3c1ee0 (patch)
tree56d79f94966870db1cecd65a7264510a25fd1cba /source/API/SBFileSpec.cpp
parent37d22554be9f5a677dad2a95b7ef22fe59c66a8a (diff)
Notes
Diffstat (limited to 'source/API/SBFileSpec.cpp')
-rw-r--r--source/API/SBFileSpec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/API/SBFileSpec.cpp b/source/API/SBFileSpec.cpp
index 4413689501a83..fc207d071dbc8 100644
--- a/source/API/SBFileSpec.cpp
+++ b/source/API/SBFileSpec.cpp
@@ -61,7 +61,7 @@ SBFileSpec::operator = (const SBFileSpec &rhs)
bool
SBFileSpec::IsValid() const
{
- return *m_opaque_ap;
+ return m_opaque_ap->operator bool();
}
bool